https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23070 didier <didier.gautheron@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |didier.gautheron@biblibre.c | |om --- Comment #23 from didier <didier.gautheron@biblibre.com> --- (In reply to Victor Grousset/tuxayo from comment #22)
I got an error on the tests, is there any thing else to do before running them? Look like theres's a bug should be
diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 38db7d6e0e..397c33f0bd 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1994,7 +1994,7 @@ sub RevertWaitingStatus { ## Increment the priority of all other non-waiting ## reserves for this bib record my $holds = Koha::Holds->search({ biblionumber => $hold->biblionumber, priority => { '>' => 0 } }) - ->update({ priority => \'priority + 1', no_triggers => 1 }); + ->update({ priority => \'priority + 1'}, {no_triggers => 1 }); ## Fix up the currently waiting reserve $hold->set( -- You are receiving this mail because: You are watching all bug changes.