koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/opac opac-search.pl,1.21,1.22


From: doXulting
Subject: [Koha-cvs] CVS: koha/opac opac-search.pl,1.21,1.22
Date: Thu, 03 Mar 2005 01:33:16 -0800

Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17937/opac

Modified Files:
        opac-search.pl 
Log Message:
Adding the order (ASC, DESC) parameter when calling catalogsearch

Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** opac-search.pl      10 Dec 2004 16:11:31 -0000      1.21
--- opac-search.pl      3 Mar 2005 09:33:14 -0000       1.22
***************
*** 51,54 ****
--- 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
***************
*** 70,74 ****
        my ($results,$total) = catalogsearch($dbh, 
address@hidden,address@hidden,
                                                                                
address@hidden, address@hidden, address@hidden,
!                                                                               
$startfrom*$resultsperpage, $resultsperpage,$orderby);
  
        ($template, $loggedinuser, $cookie)
--- 71,75 ----
        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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]