http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6536
--- Comment #102 from Tomás Cohen Arazi <[email protected]> --- 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@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@zoe:koha-community-src(clean_master)$ -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
