https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23070

didier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |om

--- Comment #23 from didier <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to