[Bug 44139] New: Check-in page: honour ShowAllCheckins
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44139 Bug ID: 44139 Summary: Check-in page: honour ShowAllCheckins Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com Depends on: 42383 Target Milestone: --- The 'ShowAllCheckins' system preference has no effect on the new Vue check-in page: items that were not checked out are always added to the 'Checked-in items' table, even when the preference is set to "Don't show". Follow-up to bug 42383, reported by Pedro Amorim. Test plan: 1. Set 'ShowAllCheckins' to "Don't show" (/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=ShowAllCheckins) 2. Check in item 3999900000017, which is not checked out, at /cgi-bin/koha/circ/checkin.pl 3. Expected: the item is not added to the 'Checked-in items' table. Actual: it is Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42383 [Bug 42383] Migrate check-in page to Vue -- 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=44139 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |martin.renvoize@openfifth.c |ity.org |o.uk -- 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=44139 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44139 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211895 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211895&action=edit Bug 44139: Check-in page: honour ShowAllCheckins The Vue check-in page ignored ShowAllCheckins: an item that was not checked out was always added to the 'Checked-in items' table. The old page only listed it when the preference was set to 'Show'. The page already receives the preference in the module policy. Do not add an item that was not checked out, and needs no action, to the table unless it is set. The alert that says the item was not checked out is still shown, as it is about the last check-in. To test: 1. Set ShowAllCheckins to "Don't show" 2. Check in an item that is not checked out, at Circulation > Check in 3. A yellow alert says "Not checked out." and the item is not in the 'Checked-in items' table 4. Check in an item that is checked out: it is listed, and still is after the first item is scanned again 5. Set ShowAllCheckins to "Show" and check in the first item again: it is listed 6. Run the Cypress spec: t/cypress/integration/Circulation/Checkin_spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44139 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff --- Comment #2 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Andrew, do you remember why ShowAllCheckins exists? I can see two possible reasons. One is a workaround for the cost of listing every scanned item on the old page. The other is a deliberate way to hide noise: an item with no checkout and no action needed has little to show, and the "Not checked out." alert already says so, so the list is only incomplete, not wrong. Do you know which it was, and whether libraries rely on either behaviour? If it was the first, the preference could probably go. If it was the second, it is worth keeping. This patch keeps the current behaviour for now, so nothing changes for libraries either way. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44139 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44139 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=44139 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #211895|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=44139 --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 211923 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211923&action=edit Bug 44139: Check-in page: honour ShowAllCheckins The Vue check-in page ignored ShowAllCheckins: an item that was not checked out was always added to the 'Checked-in items' table. The old page only listed it when the preference was set to 'Show'. The page already receives the preference in the module policy. Do not add an item that was not checked out, and needs no action, to the table unless it is set. The alert that says the item was not checked out is still shown, as it is about the last check-in. To test: 1. Set ShowAllCheckins to "Don't show" 2. Check in an item that is not checked out, at Circulation > Check in 3. A yellow alert says "Not checked out." and the item is not in the 'Checked-in items' table 4. Check in an item that is checked out: it is listed, and still is after the first item is scanned again 5. Set ShowAllCheckins to "Show" and check in the first item again: it is listed 6. Run the Cypress spec: t/cypress/integration/Circulation/Checkin_spec.ts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> 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=44139 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |tomascohen@gmail.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org