[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha search.pl,1.6.2.9,1.6.2.10
From: |
Steve Tonnesen |
Subject: |
[Koha-cvs] CVS: koha search.pl,1.6.2.9,1.6.2.10 |
Date: |
Wed, 24 Jul 2002 21:06:01 -0700 |
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv17880
Modified Files:
Tag: rel-1-2
search.pl
Log Message:
Fixed bug that broke searches with spaces in them.
Index: search.pl
===================================================================
RCS file: /cvsroot/koha/koha/search.pl,v
retrieving revision 1.6.2.9
retrieving revision 1.6.2.10
diff -C2 -r1.6.2.9 -r1.6.2.10
*** search.pl 11 Jul 2002 18:05:28 -0000 1.6.2.9
--- search.pl 25 Jul 2002 04:05:59 -0000 1.6.2.10
***************
*** 192,196 ****
my $highlight=0;
($startfrom==($i-1)*10) && ($highlight=1);
! push @$numbers, { number => $i, highlight => $highlight , FORMINPUTS =>
$forminputs, startfrom => ($i-1)*10, opac => ($type eq 'opac') ? (1) : (0)};
}
}
--- 192,202 ----
my $highlight=0;
($startfrom==($i-1)*10) && ($highlight=1);
! my $formelements='';
! foreach (@$forminputs) {
! my $line=$_->{line};
! $formelements.="$line&";
! }
! $formelements=~s/ /+/g;
! push @$numbers, { number => $i, highlight => $highlight , FORMELEMENTS
=> $formelements, FORMINPUTS => $forminputs, startfrom => ($i-1)*10, opac =>
(($type eq 'opac') ? (1) : (0))};
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha search.pl,1.6.2.9,1.6.2.10,
Steve Tonnesen <=
- Prev by Date:
[Koha-cvs] CVS: koha installer.pl,1.2.2.61,1.2.2.62 Install.pm,1.1.2.2,1.1.2.3
- Next by Date:
[Koha-cvs] CVS: koha-html/intranet-html/includes/templates/default/catalogue searchresults.tmpl,1.4.4.1,1.4.4.2
- Previous by thread:
[Koha-cvs] CVS: koha installer.pl,1.2.2.61,1.2.2.62 Install.pm,1.1.2.2,1.1.2.3
- Next by thread:
[Koha-cvs] CVS: koha-html/intranet-html/includes/templates/default/catalogue searchresults.tmpl,1.4.4.1,1.4.4.2
- Index(es):