[Koha-bugs] [Bug 32550] 'Clear on loan' link on Batch item modification doesn't untick on loan items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 3 14:02:09 CET 2023


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 144934
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144934&action=edit
Bug 32550: (bug 28445 follow-up) Fix 'Clear on loan' link on item batch mod

The 'Clear on loan' link displayed at the top of the batch item
modification tool has been broken by bug 28445.

data-is-onloan attribute is supposed to be 1 or 0, but we passed the
checkout (Koha::Checkout=HASH)

Test plan:
1. Enter a checked-out barcode in the 'Batch item modification' page
2. Click 'Continue'
3. Notice a table is loaded displaying the on-loan item with a ticked checkbox
4. Click the 'Clear on loan' link above the table
5. Notice the on-loan item is no longer selected

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


More information about the Koha-bugs mailing list