[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/search.marc search.pl,1.22,1.22.2.1
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/search.marc search.pl,1.22,1.22.2.1 |
Date: |
Mon, 07 Mar 2005 01:49:15 -0800 |
Update of /cvsroot/koha/koha/search.marc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9315/search.marc
Modified Files:
Tag: rel_2_2
search.pl
Log Message:
adding asc or desc selector to order a search as the user want (patch from
doXulting for ENSMP)
Index: search.pl
===================================================================
RCS file: /cvsroot/koha/koha/search.marc/search.pl,v
retrieving revision 1.22
retrieving revision 1.22.2.1
diff -C2 -r1.22 -r1.22.2.1
*** search.pl 8 Dec 2004 20:57:58 -0000 1.22
--- search.pl 7 Mar 2005 09:49:10 -0000 1.22.2.1
***************
*** 111,114 ****
--- 111,115 ----
$resultsperpage = 19 if(!defined $resultsperpage);
my $orderby = $query->param('orderby');
+ my $desc_or_asc = $query->param('desc_or_asc');
# builds tag and subfield arrays
***************
*** 130,134 ****
my ($results,$total) = catalogsearch($dbh,
address@hidden,address@hidden,
address@hidden, address@hidden, address@hidden,
!
$startfrom*$resultsperpage, $resultsperpage,$orderby);
($template, $loggedinuser, $cookie)
--- 131,135 ----
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/search.marc search.pl,1.22,1.22.2.1,
Paul POULAIN <=