[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/catalogue search.pl [rel_3_0]
From: |
Henri-Damien LAURENT |
Subject: |
[Koha-cvs] koha/catalogue search.pl [rel_3_0] |
Date: |
Tue, 09 Jan 2007 14:16:07 +0000 |
CVSROOT: /cvsroot/koha
Module name: koha
Branch: rel_3_0
Changes by: Henri-Damien LAURENT <hdl> 07/01/09 14:16:07
Modified files:
catalogue : search.pl
Log message:
Adding query_type= to search_desc in order to get results when query is
not ccl type but pqf.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/catalogue/search.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.13&r2=1.1.2.14
Patches:
Index: search.pl
===================================================================
RCS file: /cvsroot/koha/koha/catalogue/Attic/search.pl,v
retrieving revision 1.1.2.13
retrieving revision 1.1.2.14
diff -u -b -r1.1.2.13 -r1.1.2.14
--- search.pl 19 Dec 2006 10:53:22 -0000 1.1.2.13
+++ search.pl 9 Jan 2007 14:16:07 -0000 1.1.2.14
@@ -2,7 +2,7 @@
# Script to perform searching
# For documentation try 'perldoc /path/to/search'
#
-# $Header: /cvsroot/koha/koha/catalogue/Attic/search.pl,v 1.1.2.13 2006/12/19
10:53:22 toins Exp $
+# $Header: /cvsroot/koha/koha/catalogue/Attic/search.pl,v 1.1.2.14 2007/01/09
14:16:07 hdl Exp $
#
# Copyright 2006 LibLime
#
@@ -424,7 +424,7 @@
$total = $total + $results_hashref->{$server}->{"hits"};
if ($hits) {
$template->param(total => $hits);
- $template->param(searchdesc => $search_desc );
+ $template->param(searchdesc => "$query_type=$search_desc" );
$template->param(results_per_page => $results_per_page);
$template->param(SEARCH_RESULTS => address@hidden);
@@ -474,7 +474,7 @@
$template->param(
#classlist => $classlist,
total => $total,
- searchdesc => $search_desc,
+ searchdesc => "$query_type=$search_desc",
opacfacets => 1,
facets_loop => $facets,
suggestion => C4::Context->preference("suggestion"),
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/catalogue search.pl [rel_3_0],
Henri-Damien LAURENT <=