From 68ebdb89a1d3553ad70b05537edf9d899e3cdeb0 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Wed, 21 Nov 2007 17:57:15 -0600 Subject: [PATCH] fixing sort_by for page numbers Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- catalogue/search.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/catalogue/search.pl b/catalogue/search.pl index 9329f99f1b..9acd2eaada 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -341,6 +341,7 @@ my @sort_by; foreach my $sort (@sort_by) { $template->param($sort => 1); } +$template->param('sort_by' => $sort_by[0]); # Use the servers defined, or just search our local catalog(default) my @servers; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc index 91025c4cd7..e7e6d0e419 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc @@ -1,9 +1,7 @@ -- 2.39.5