jan-vandenberg/cruddiy

Easy fix to search parameter not being passed along in URL when paging

dooleysworne opened this issue · 3 comments

Line 54 in templates.php

Change

$parameters = $GET ? $_SERVER['QUERY_STRING'] : "" ;

to

$parameters = $_GET ? $_SERVER['QUERY_STRING'] : "" ;

Solves the problem of the search parameter not being passed along in the URL when paging.

What version of Cruddiy are you using (or which git commit)? Because this line is not in the code.

See here: https://github.com/jan-vandenberg/cruddiy/blob/master/core/templates.php#L54

Wow, I did not catch this because my development branch wasn't synced with master (which was ahead).

Fixed now in 5222763

Thanks for pointing this out!