[Koha-cvs] koha/z3950 search.pl [rel_2_2]
MJR
mjr at towers.org.uk
Wed Jul 26 18:04:48 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: MJR <slef> 06/07/26 16:04:48
Modified files:
z3950 : search.pl
Log message:
Bugfix for Nothing Found on servers with fast z3950 links
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/z3950/search.pl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.3.2.7&r2=1.3.2.8
Patches:
Index: search.pl
===================================================================
RCS file: /sources/koha/koha/z3950/search.pl,v
retrieving revision 1.3.2.7
retrieving revision 1.3.2.8
diff -u -b -r1.3.2.7 -r1.3.2.8
--- search.pl 29 Jun 2006 19:17:02 -0000 1.3.2.7
+++ search.pl 26 Jul 2006 16:04:48 -0000 1.3.2.8
@@ -77,9 +77,11 @@
debug => 1,
});
+#MJR: check for pending then search results, else servers with fast
+# z3950 links may miss results if the search completes between them
+my $numberpending= &checkz3950searchdone($random);
# fill with books in breeding farm
($count, @results) = BreedingSearch($title,$isbn,$random);
-my $numberpending= &checkz3950searchdone($random);
my @breeding_loop = ();
for (my $i=0; $i <= $#results; $i++) {
my %row_data;
More information about the Koha-cvs
mailing list