[Bug 39297] New: Show due date on recalls queue if a recalled item is overdue to be returned
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39297 Bug ID: 39297 Summary: Show due date on recalls queue if a recalled item is overdue to be returned Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: aleisha@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com If a recalled item is overdue to be returned to the library, the checkout's due date does not show on the recalls queue. This is still useful information. -- 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=39297 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |aleisha@catalyst.net.nz |ity.org | Change sponsored?|--- |Sponsored Status|NEW |ASSIGNED Circulation| |recalls function| | -- 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=39297 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39297 --- Comment #1 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 179134 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=179134&action=edit Bug 39297: Show due date on recalls queue if a recalled item is overdue to be returned To test: 1) Enable the UseRecalls system preference in Koha Administration -> Global system preferences 2) Go to Koha Administration -> Circulation and fines rules. Set a value for all of the recalls related rules. 3) Check out an item to Patron B (you could use barcode 39999000012675). 4) Log into the OPAC as Patron A and search for that item. Place a recall on the item. 5) In the staff interface, go to Circulation -> Recalls queue. Notice the recall in the queue with the status 'requested' and the due date showing in the next column. 6) Access the database (koha-mysql kohadev) and change the due date of the item to simulate it being overdue. i.e.: update issues set date_due = "2025-03-10 23:59:00"; 7) Manually run the cronjob which sets recalls as overdue. i.e.: koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/recalls/overdue_recalls.pl 8) Refresh the Recalls queue in your browser. Notice the status now says 'Overdue to be returned' and the due date in the next column is missing. 9) Apply the patch and refresh the page. 10) Notice the status still says 'Overdue to be returned' and the checkout's due date shows in the next column. 11) Check out another item to Patron C (you could use barcode 39999000000498). 12) Log into the OPAC as Patron A and search for that item. Place a recall on the item. 13) Refresh the Recalls queue and confirm the second recall shows with the status 'requested' and the due date shows as expected in the next column. Sponsored-by: Auckland University of Technology -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39297 --- Comment #2 from Chris Cormack <chris@bigballofwax.co.nz> --- Automatic patch test results: â ï¸ The patch applies with fuzzy option (ignoring whitespace). This may indicate minor conflicts that need to be resolved. Details: Patch applies with fuzzy option (ignoring whitespace) This is an automated message from the patch testing system. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39297 Emmanuel Bétemps <e.betemps@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179134|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=39297 --- Comment #3 from Emmanuel Bétemps <e.betemps@gmail.com> --- Created attachment 195942 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195942&action=edit Bug 39297: Show due date on recalls queue if a recalled item is overdue to be returned To test: 1) Enable the UseRecalls system preference in Koha Administration -> Global system preferences 2) Go to Koha Administration -> Circulation and fines rules. Set a value for all of the recalls related rules. 3) Check out an item to Patron B (you could use barcode 39999000012675). 4) Log into the OPAC as Patron A and search for that item. Place a recall on the item. 5) In the staff interface, go to Circulation -> Recalls queue. Notice the recall in the queue with the status 'requested' and the due date showing in the next column. 6) Access the database (koha-mysql kohadev) and change the due date of the item to simulate it being overdue. i.e.: update issues set date_due = "2025-03-10 23:59:00"; 7) Manually run the cronjob which sets recalls as overdue. i.e.: koha-foreach --chdir --enabled /usr/share/koha/bin/cronjobs/recalls/overdue_recalls.pl 8) Refresh the Recalls queue in your browser. Notice the status now says 'Overdue to be returned' and the due date in the next column is missing. 9) Apply the patch and refresh the page. 10) Notice the status still says 'Overdue to be returned' and the checkout's due date shows in the next column. 11) Check out another item to Patron C (you could use barcode 39999000000498). 12) Log into the OPAC as Patron A and search for that item. Place a recall on the item. 13) Refresh the Recalls queue and confirm the second recall shows with the status 'requested' and the due date shows as expected in the next column. Sponsored-by: Auckland University of Technology Signed-off-by: Emmanuel Bétemps <e.betemps@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39297 Emmanuel Bétemps <e.betemps@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |e.betemps@gmail.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org