[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac search [dev_week]
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/opac search [dev_week] |
Date: |
Thu, 12 Oct 2006 02:33:21 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Joshua Ferraro <kados> 06/10/12 02:33:21
Modified files:
opac : search
Log message:
even one limit is ok ...
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/search?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.8&r2=1.1.2.9
Patches:
Index: search
===================================================================
RCS file: /sources/koha/koha/opac/Attic/search,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -b -r1.1.2.8 -r1.1.2.9
--- search 9 Oct 2006 14:15:51 -0000 1.1.2.8
+++ search 12 Oct 2006 02:33:21 -0000 1.1.2.9
@@ -2,7 +2,7 @@
# Script to perform searching
# For documentation try 'perldoc /path/to/search'
#
-# $Header: /sources/koha/koha/opac/Attic/search,v 1.1.2.8 2006/10/09 14:15:51
kados Exp $
+# $Header: /sources/koha/koha/opac/Attic/search,v 1.1.2.9 2006/10/12 02:33:21
kados Exp $
#
# Copyright 2006 LibLime
#
@@ -163,12 +163,12 @@
# decide which template to use
my $template_name;
my @params = $cgi->param("limit");
-if ((@params>1) || ($cgi->param("q")) ) {
- #warn "loading results";
+if ((@params>0) || ($cgi->param("q")) ) {
+ warn "loading results";
$template_name = 'opac-results.tmpl';
}
else {
- #warn "loading adv search page";
+ warn "loading adv search page";
$template_name = 'opac-advsearch.tmpl';
}