[Bug 43247] New: Transfer reason doesn't show in Checked-in items table for float limit transfers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Bug ID: 43247 Summary: Transfer reason doesn't show in Checked-in items table for float limit transfers Initiative type: --- Sponsorship --- status: Product: Koha Version: 26.05 Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: sbrown@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Depends on: 28530 Target Milestone: --- When an item is checked in and is sent to transfer due to the new library float limits feature, the 'Transfer reason' column is blank in the 'Checked-in items' table. The reason shows in logs as 'LibraryFloatLimit', so Koha has the information - it's just not displaying it in that table. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28530 [Bug 28530] Allow configuration of floating limits by item type -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- To recreate: 1 - Enable UseLibraryFloatLimits and ShowAllCheckins preferences 2 - Go to Admin -> Library float limits 3 - Set books to be 1 at Centerville, 200 at Fairfield, 0 everywhere else 4 - Go to Admin -> Circ and fine rules 5 - Scroll to bottom, set 'Books' return policy to 'Floats' 6 - Check in a book at CPL - 39999000016826 7 - Confirm transfer to Fairfield 8 - No reason shown -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|26.05 |Main -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 --- Comment #2 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 206245 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206245&action=edit Bug 43247: Add float limit and fallback in transfer reasons This patch adds 'LibraryFloatLimit' to the transfer reason block and ensures that the DB reason is shown in case any future additions are missed To test: 1 - Enable UseLibraryFloatLimits and ShowAllCheckins preferences 2 - Go to Admin -> Library float limits 3 - Set books to be 1 at Centerville, 200 at Fairfield, 0 everywhere else 4 - Go to Admin -> Circ and fine rules 5 - Scroll to bottom, set 'Books' return policy to 'Floats' 6 - Check in a book at CPL - 39999000016826 7 - Confirm transfer to Fairfield 8 - No reason shown 9 - Apply patch 10 - Check in again 11 - Confirm both checkins now show transfer reason -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #206245|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 208946 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208946&action=edit Bug 43247: Add float limit and fallback in transfer reasons This patch adds 'LibraryFloatLimit' to the transfer reason block and ensures that the DB reason is shown in case any future additions are missed To test: 1 - Enable UseLibraryFloatLimits and ShowAllCheckins preferences 2 - Go to Admin -> Library float limits 3 - Set books to be 1 at Centerville, 200 at Fairfield, 0 everywhere else 4 - Go to Admin -> Circ and fine rules 5 - Scroll to bottom, set 'Books' return policy to 'Floats' 6 - Check in a book at CPL - 39999000016826 7 - Confirm transfer to Fairfield 8 - No reason shown 9 - Apply patch 10 - Check in again 11 - Confirm both checkins now show transfer reason Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |jrobb@sekls.org |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Jason Robb <jrobb@sekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #208946|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 --- Comment #4 from Jason Robb <jrobb@sekls.org> --- Created attachment 211679 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211679&action=edit Bug 43247: Add float limit and fallback in transfer reasons This patch adds 'LibraryFloatLimit' to the transfer reason block and ensures that the DB reason is shown in case any future additions are missed To test: 1 - Enable UseLibraryFloatLimits and ShowAllCheckins preferences 2 - Go to Admin -> Library float limits 3 - Set books to be 1 at Centerville, 200 at Fairfield, 0 everywhere else 4 - Go to Admin -> Circ and fine rules 5 - Scroll to bottom, set 'Books' return policy to 'Floats' 6 - Check in a book at CPL - 39999000016826 7 - Confirm transfer to Fairfield 8 - No reason shown 9 - Apply patch 10 - Check in again 11 - Confirm both checkins now show transfer reason Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jason Robb <jrobb@sekls.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Jason Robb <jrobb@sekls.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #5 from Jason Robb <jrobb@sekls.org> --- I added the missing html filter the qa tools asked for. This is my first QA follow-up, if I messed something up let me know! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 --- Comment #6 from Jason Robb <jrobb@sekls.org> --- Created attachment 211680 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211680&action=edit Bug 43247: (QA follow-up) Add missing html filter Added missing html filter to transfer.reason block. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.11.00 released in| | Status|Passed QA |Pushed to main --- Comment #7 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Pushed to main for 26.11 as RM Assistant, bugs only now we're in feature freeze -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 --- Comment #8 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- 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 <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 --- Comment #9 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- The attached patch changed circ/returns.tt, which no longer exists since Bug 42383 replaced the check-in page with the Vue version, so it could not be applied. The same problem remained in the Vue page, where the Transfer reason column and the transfer modal showed the raw value "LibraryFloatLimit". The same wording was added to the two trigger maps in CheckedInItems.vue and ConfirmationModal.vue as an RM follow-up (commit e9c057a634f). Thanks for the original patch and the testing. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43247 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com --- Comment #10 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Need a 26.05.x rebase -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org