[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/opac opac-search.pl,1.21,1.21.2.1
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/opac opac-search.pl,1.21,1.21.2.1 |
Date: |
Mon, 07 Mar 2005 01:49:16 -0800 |
Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9315/opac
Modified Files:
Tag: rel_2_2
opac-search.pl
Log Message:
adding asc or desc selector to order a search as the user want (patch from
doXulting for ENSMP)
Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -C2 -r1.21 -r1.21.2.1
*** opac-search.pl 10 Dec 2004 16:11:31 -0000 1.21
--- opac-search.pl 7 Mar 2005 09:49:09 -0000 1.21.2.1
***************
*** 51,55 ****
$resultsperpage = 19 if(!defined $resultsperpage);
my $orderby = $query->param('orderby');
!
# builds tag and subfield arrays
my @tags;
--- 51,55 ----
$resultsperpage = 19 if(!defined $resultsperpage);
my $orderby = $query->param('orderby');
! my $desc_or_asc = $query->param('desc_or_asc');
# builds tag and subfield arrays
my @tags;
***************
*** 70,74 ****
my ($results,$total) = catalogsearch($dbh,
address@hidden,address@hidden,
address@hidden, address@hidden, address@hidden,
!
$startfrom*$resultsperpage, $resultsperpage,$orderby);
($template, $loggedinuser, $cookie)
--- 70,74 ----
my ($results,$total) = catalogsearch($dbh,
address@hidden,address@hidden,
address@hidden, address@hidden, address@hidden,
!
$startfrom*$resultsperpage, $resultsperpage,$orderby,$desc_or_asc);
($template, $loggedinuser, $cookie)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/opac opac-search.pl,1.21,1.21.2.1,
Paul POULAIN <=