[Koha-cvs] CVS: koha/C4 Search.pm,1.38,1.39
Andrew Arensburger
arensb at users.sourceforge.net
Sun Sep 22 18:51:13 CEST 2002
Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv23340
Modified Files:
Search.pm
Log Message:
Added some FIXME comments.
Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -r1.38 -r1.39
*** Search.pm 22 Sep 2002 00:30:35 -0000 1.38
--- Search.pm 22 Sep 2002 16:51:11 -0000 1.39
***************
*** 360,363 ****
--- 360,365 ----
# can be rewritten (in MySQL, at least) as
# field regexp '(^| )string';
+ # However, this isn't portable. Though PostgreSQL allows you to use "~"
+ # instead of "regexp".
my $query="Select biblionumber from biblio
where ((title like '$key[0]%' or title like '% $key[0]%')";
More information about the Koha-cvs
mailing list