[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/C4 SearchMarc.pm,1.4,1.5
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/C4 SearchMarc.pm,1.4,1.5 |
Date: |
Thu, 24 Apr 2003 09:28:49 -0700 |
Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv780/C4
Modified Files:
SearchMarc.pm
Log Message:
fix for 361
Index: SearchMarc.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/SearchMarc.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** SearchMarc.pm 4 Apr 2003 08:41:17 -0000 1.4
--- SearchMarc.pm 24 Apr 2003 16:28:47 -0000 1.5
***************
*** 73,77 ****
if (@$value[$i]) {
if ($nb==1) {
! if (@$operator[$i] eq "starts") {
$sql_tables .= "marc_subfield_table as
m$nb,";
$sql_where1 .=
"@$excluding[$i](m1.subfieldvalue like '@$value[$i]%'";
--- 73,77 ----
if (@$value[$i]) {
if ($nb==1) {
! if (@$operator[$i] eq "start") {
$sql_tables .= "marc_subfield_table as
m$nb,";
$sql_where1 .=
"@$excluding[$i](m1.subfieldvalue like '@$value[$i]%'";
***************
*** 96,100 ****
}
} else {
! if (@$operator[$i] eq "starts") {
$sql_tables .= "marc_subfield_table as
m$nb,";
$sql_where1 .= "@$and_or[$i]
@$excluding[$i](m$nb.subfieldvalue like '@$value[$i]%'";
--- 96,100 ----
}
} else {
! if (@$operator[$i] eq "start") {
$sql_tables .= "marc_subfield_table as
m$nb,";
$sql_where1 .= "@$and_or[$i]
@$excluding[$i](m$nb.subfieldvalue like '@$value[$i]%'";
***************
*** 127,130 ****
--- 127,131 ----
chop $sql_tables;
my $sth;
+ warn "HERE";
if ($sql_where2) {
$sth = $dbh->prepare("select distinct m1.bibid from $sql_tables
where $sql_where2 and ($sql_where1)");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4 SearchMarc.pm,1.4,1.5,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes marc-top.inc,NONE,1.1 acquisitions-top.inc,1.9,1.10 circulation-top.inc,1.10,1.11
- Next by Date:
[Koha-cvs] CVS: koha/C4 Reserves2.pm,1.29,1.30
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes marc-top.inc,NONE,1.1 acquisitions-top.inc,1.9,1.10 circulation-top.inc,1.10,1.11
- Next by thread:
[Koha-cvs] CVS: koha/C4 Reserves2.pm,1.29,1.30
- Index(es):