[Koha-cvs] CVS: koha/C4 Maintainance.pm,1.13,1.14
Chris Cormack
rangi at users.sourceforge.net
Mon Mar 15 21:24:16 CET 2004
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/fr opac-auth.tmpl,1.1.2.3,1.1.2.4 opac-detail.tmpl,1.1.2.3,1.1.2.4 opac-moredetail.tmpl,1.1.2.3,1.1.2.4 opac-reserve.tmpl,1.1.2.3,1.1.2.4 opac-searchresults.tmpl,1.1.2.4,1.1.2.5 opac-user.tmpl,1.1.2.2,1.1.2.3 opac-userupdate.tmpl,1.1.2.2,1.1.2.3 subject.tmpl,1.1.2.2,1.1.2.3
- Next message: [Koha-cvs] CVS: koha/circ returns.pl,1.35,1.36
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26377
Modified Files:
Maintainance.pm
Log Message:
Fixing some bogus sql
Index: Maintainance.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Maintainance.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** Maintainance.pm 22 Dec 2003 19:16:58 -0000 1.13
--- Maintainance.pm 15 Mar 2004 20:24:13 -0000 1.14
***************
*** 80,85 ****
my ($sub,$num,$offset)=@_;
my $dbh = C4::Context->dbh;
! my $query="Select * from bibliosubject where subject like '?%' group by subject";
! my @bind = ($sub);
# FIXME - Make $num and $offset optional.
# If $num was given, make sure $offset was, too.
--- 80,85 ----
my ($sub,$num,$offset)=@_;
my $dbh = C4::Context->dbh;
! my $query="Select * from bibliosubject where subject like ? group by subject";
! my @bind = ("$sub%");
# FIXME - Make $num and $offset optional.
# If $num was given, make sure $offset was, too.
***************
*** 157,162 ****
my ($title)=@_;
my $dbh = C4::Context->dbh;
! my $sth=$dbh->prepare("Select * from deletedbiblio where title like '?%' order by title");
! $sth->execute($title);
my @results;
my $i=0;
--- 157,162 ----
my ($title)=@_;
my $dbh = C4::Context->dbh;
! my $sth=$dbh->prepare("Select * from deletedbiblio where title like ? order by title");
! $sth->execute("$title%");
my @results;
my $i=0;
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/fr opac-auth.tmpl,1.1.2.3,1.1.2.4 opac-detail.tmpl,1.1.2.3,1.1.2.4 opac-moredetail.tmpl,1.1.2.3,1.1.2.4 opac-reserve.tmpl,1.1.2.3,1.1.2.4 opac-searchresults.tmpl,1.1.2.4,1.1.2.5 opac-user.tmpl,1.1.2.2,1.1.2.3 opac-userupdate.tmpl,1.1.2.2,1.1.2.3 subject.tmpl,1.1.2.2,1.1.2.3
- Next message: [Koha-cvs] CVS: koha/circ returns.pl,1.35,1.36
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list