koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/C4 Authorities.pm,1.7.2.1,1.7.2.2


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/C4 Authorities.pm,1.7.2.1,1.7.2.2
Date: Fri, 06 Feb 2004 06:15:58 -0800

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

Modified Files:
      Tag: rel_2_0
        Authorities.pm 
Log Message:
modifying order (mysql auto sort by relevance)

Index: Authorities.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Authorities.pm,v
retrieving revision 1.7.2.1
retrieving revision 1.7.2.2
diff -C2 -r1.7.2.1 -r1.7.2.2
*** Authorities.pm      26 Jan 2004 10:36:42 -0000      1.7.2.1
--- Authorities.pm      6 Feb 2004 14:15:56 -0000       1.7.2.2
***************
*** 193,199 ****
                }
  #     $query .= " and freelib like \"$searchstring%\"" if ($searchstring);
!       $query .= " order by category,freelib limit ?,?";
        push(@bind,$offset,($pagesize*4));
! #     warn "q : $query";
        my $sth=$dbh->prepare($query);
        $sth->execute(@bind);
--- 193,199 ----
                }
  #     $query .= " and freelib like \"$searchstring%\"" if ($searchstring);
!       $query .= " limit ?,?";
        push(@bind,$offset,($pagesize*4));
!       warn "q : $query"address@hidden;
        my $sth=$dbh->prepare($query);
        $sth->execute(@bind);




reply via email to

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