From: Koustubha Kale Date: Sat, 2 Apr 2011 16:53:06 +0000 (+0530) Subject: This patch fixes the broken pagination in members-search.pl X-Git-Tag: html_template_pro~97 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=332e701c258a126cbc90862c12249de7aaada710;p=koha_fer 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 Signed-off-by: Chris Cormack --- diff --git a/patroncards/members-search.pl b/patroncards/members-search.pl index 42fbba78b8..c2abe07753 100755 --- a/patroncards/members-search.pl +++ b/patroncards/members-search.pl @@ -92,7 +92,7 @@ if ($member || $category) { ); push(@resultsdata, \%row); } - my $base_url = __FILE__ . '?' . join('&', map { $_->{term} . ' = ' . $_->{val} } ( + my $base_url = '?' . join('&', map { $_->{term} . '=' . $_->{val} } ( { term => 'member', val => $member }, { term => 'category', val => $category }, { term => 'orderby', val => $orderby },