[Koha-bugs] [Bug 6536] Z3950 Search Enhancements: SRU targets and additional XSLT processing
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 27 18:24:18 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6536
--- Comment #102 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
This change makes tests pass. Please consider if this needs to be fixed (i.e.
sort order matters) or the test needs to be rewritten:
tomas at zoe:koha-community-src(clean_master)$ git diff HEAD
diff --git a/C4/Breeding.pm b/C4/Breeding.pm
index fa3af82..21a12c1 100644
--- a/C4/Breeding.pm
+++ b/C4/Breeding.pm
@@ -249,7 +249,7 @@ sub _build_query {
my $zquery='';
my $squery='';
my $nterms=0;
- foreach my $k ( keys %$pars ) {
+ foreach my $k ( sort keys %$pars ) {
if( ( my $val=$pars->{$k} ) && $qry_build->{$k} ) {
$qry_build->{$k} =~ s/#term/$val/g;
$zquery .= $qry_build->{$k};
tomas at zoe:koha-community-src(clean_master)$
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list