[Koha-patches] [PATCH] [SIGNED-OFF] This patch fixes the broken pagination in members-search.pl

Katrin Fischer Katrin.Fischer.83 at web.de
Wed Apr 6 11:38:39 CEST 2011


From: Koustubha Kale <kmkale at anantcorp.com>

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 at web.de>
---
 patroncards/members-search.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/patroncards/members-search.pl b/patroncards/members-search.pl
index 42fbba7..c2abe07 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('&amp;', map { $_->{term} . ' = ' . $_->{val} } (
+    my $base_url = '?' . join('&amp;', map { $_->{term} . '=' . $_->{val} } (
                                             { term => 'member',         val => $member         },
                                             { term => 'category',       val => $category       },
                                             { term => 'orderby',        val => $orderby        },
-- 
1.7.1



More information about the Koha-patches mailing list