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

--- Comment #3 from David Nind <[email protected]> ---
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 <[email protected]>
Signed-off-by: David Nind <[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