]> git.evergreen-ils.org Git - working/Evergreen.git/commit - Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2
LP#1998605 Prevent Checked Out Items from Being Marked Missing
authorDan Briem <dbriem@wlsmail.org>
Mon, 23 Oct 2023 22:28:00 +0000 (22:28 +0000)
committerTerran McCanna <tmccanna@georgialibraries.org>
Mon, 13 Nov 2023 18:51:16 +0000 (13:51 -0500)
commite9ac203614760ff7d6cb8d626caf2994d0d5a8a5
treed26f104866abfb1d75fdad3ce03e9a95705ce6ac
parent305aeb615e97c335fa20259b58cac97ca37fa718
LP#1998605 Prevent Checked Out Items from Being Marked Missing

- Remove mark missing actions from the patron items out grids.
- The circ.mark_item... service will not allow a checkin
  attempt on a checked out item if it's being marked missing.
- Keep the promise chain alive in AngularJS when marking
  multiple items missing and one fails (consistent with the
  behavior in Angular).

To test:
- Patron items out grids should not display missing actions.
- Item status (both detail and list view) should not allow
  checked out items to be marked missing.
- While checked out items shouldn't typically appear on the
  pull list, holds shelf, or patron holds grids, if stale data
  is there (ex. multiple tabs), checked out items will not be
  marked missing.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/share/circ/grid.component.html
Open-ILS/src/eg2/src/app/staff/share/circ/grid.component.ts
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm
Open-ILS/src/templates/staff/circ/patron/t_items_out.tt2
Open-ILS/src/templates/staff/circ/share/circ_strings.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js
Open-ILS/web/js/ui/default/staff/circ/patron/items_out.js
Open-ILS/web/js/ui/default/staff/circ/services/circ.js
Open-ILS/web/js/ui/default/staff/circ/services/item.js