[Koha-bugs] [Bug 23012] Possibility to mark processing fee by default refund when item is found

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 24 23:43:17 CEST 2022


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

--- Comment #29 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 142575
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142575&action=edit
Bug 23012: get_lostreturn_policy returns a scalar

On commit 4d994773f83468b561896939f16131d0332d9cfc
Koha::Item->_set_found_trigger gets the call to get_lostreturn_policy()
changed so it expects a hashref instead of the scalar it returns. This
patch adjusts it back.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Item.t
=> FAIL: Tests fail!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list