[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/C4 SearchMarc.pm,1.36.2.14,1.36.2.15
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/C4 SearchMarc.pm,1.36.2.14,1.36.2.15 |
Date: |
Fri, 23 Sep 2005 02:45:11 -0700 |
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30610/C4
Modified Files:
Tag: rel_2_2
SearchMarc.pm
Log Message:
fixing bug for recent acquisitions. Now works well.
Index: SearchMarc.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/SearchMarc.pm,v
retrieving revision 1.36.2.14
retrieving revision 1.36.2.15
diff -C2 -r1.36.2.14 -r1.36.2.15
*** SearchMarc.pm 14 Sep 2005 16:00:15 -0000 1.36.2.14
--- SearchMarc.pm 23 Sep 2005 09:45:09 -0000 1.36.2.15
***************
*** 279,283 ****
my ($sql_tables, $sql_where1, $sql_where2) =
create_request($dbh,address@hidden, address@hidden, address@hidden,
address@hidden);
! $sql_where1 .= "and TO_DAYS( NOW( ) ) - TO_DAYS( biblio.timestamp )
<300" if $orderby =~ "biblio.timestamp";
my $sth;
if ($sql_where2) {
--- 279,285 ----
my ($sql_tables, $sql_where1, $sql_where2) =
create_request($dbh,address@hidden, address@hidden, address@hidden,
address@hidden);
! $sql_where1 .= "and TO_DAYS( NOW( ) ) - TO_DAYS(
marc_biblio.datecreated ) <$desc_or_asc" if $orderby =~ "biblio.timestamp";
! $desc_or_asc="DESC" if $orderby="biblio.timestamp";
! # $offset=0 if $orderby eq "biblio.timestamp";
my $sth;
if ($sql_where2) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4 SearchMarc.pm,1.36.2.14,1.36.2.15,
Paul POULAIN <=