From c9dabd5d22e90d481b456bf92e94e5bec015adef Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Mon, 17 Dec 2007 12:32:26 -0600 Subject: [PATCH] improvements to query_desc and limit_desc Signed-off-by: Joshua Ferraro --- C4/Search.pm | 4 ++-- .../intranet-tmpl/prog/en/modules/catalogue/results.tmpl | 8 ++++---- koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index b3bf8f32b5..9c7e7a1e96 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -899,14 +899,14 @@ sub buildQuery { $limit_desc .=" or " if $group_OR_limits; $group_OR_limits .= "$this_limit"; $limit_cgi .="&limit=$this_limit"; - $limit_desc .= "$this_limit"; + $limit_desc .= " $this_limit"; } # regular old limits else { $limit .= " and " if $limit || $query; $limit .= "$this_limit"; $limit_cgi .="&limit=$this_limit"; - $limit_desc .=" and $this_limit"; + $limit_desc .=" $this_limit"; } } if ($group_OR_limits) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl index eb6eb2107d..2106fb016c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl @@ -1,5 +1,5 @@ -Koha › Catalog › <!-- TMPL_IF NAME="searchdesc" -->Results of Search for '<!-- TMPL_VAR NAME="query_desc" --><!-- TMPL_VAR NAME="limit_desc" -->'<!-- TMPL_ELSE -->You did not specify any search criteria<!-- /TMPL_IF --> +Koha › Catalog › <!-- TMPL_IF NAME="searchdesc" -->Results of Search <!-- TMPL_IF NAME="query_desc" -->for '<!-- TMPL_VAR NAME="query_desc" -->'<!-- /TMPL_IF --><!-- TMPL_IF NAME="limit_desc" --> with limit(s): '<!-- TMPL_VAR NAME="limit_desc" -->'<!-- /TMPL_IF --><!-- TMPL_ELSE -->You did not specify any search criteria<!-- /TMPL_IF -->