This patch fixes the broken pagination in members-search.pl

Small patch to fix Error 404 which comes up when we click on pagination links after searching in Patron Card creator.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Koustubha Kale 2011-04-02 22:23:06 +05:30 committed by Chris Cormack
parent 8b582d863d
commit 332e701c25

View file

@ -92,7 +92,7 @@ if ($member || $category) {
); );
push(@resultsdata, \%row); push(@resultsdata, \%row);
} }
my $base_url = __FILE__ . '?' . join('&amp;', map { $_->{term} . ' = ' . $_->{val} } ( my $base_url = '?' . join('&amp;', map { $_->{term} . '=' . $_->{val} } (
{ term => 'member', val => $member }, { term => 'member', val => $member },
{ term => 'category', val => $category }, { term => 'category', val => $category },
{ term => 'orderby', val => $orderby }, { term => 'orderby', val => $orderby },