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

--- Comment #8 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 212190
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212190&action=edit
Bug 43247: (RM alternative) Show the float limit transfer reason on the Vue
check-in page

The patch attached to this bug adds a LibraryFloatLimit case to the
Transfer reason column of circ/returns.tt. That template no longer
exists: Bug 42383 replaced circ/returns.pl with the Vue check-in page,
so the patch can no longer be applied.

The problem is still there, in a different form. The two functions that
translate the transfer trigger in the Vue check-in page,
formatTransferTrigger() in CheckedInItems.vue and in
ConfirmationModal.vue, have no entry for LibraryFloatLimit. They fall
back to the raw trigger, so a transfer triggered by a library float limit
shows "LibraryFloatLimit" in the Transfer reason column of the Checked-in
items table and in the transfer modal.

Add the missing entry to both, with the same wording as the original
patch: "Float limit reached".

To test:
1. Enable UseLibraryFloatLimits, set HomeOrHoldingBranchReturn to
   "the item's holding library" and, in Administration > Library float
   limits (or the library's float limits), give an item type a limit of 1
   at your library and 50 at another library
2. Check in an item of that type, which is at your library, at your library
   => The transfer modal and the Transfer reason column of the Checked-in
      items table say "LibraryFloatLimit"
3. Apply the patch, run yarn js:build and hard refresh
4. Check in another such item
   => They say "Float limit reached"

Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to