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

--- Comment #231 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211723
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211723&action=edit
Bug 42383: (QA follow-up) Say on the row when an action was declined, and let
it be reopened

Answering "No" to the transfer prompt, cancelling or ignoring a transfer,
a hold or a recall, or leaving a return claim for later, closed the dialog
and left nothing on the row of the checked-in item: the row looked as if
nothing had been asked. After a mis-click there was also no way back: the
item had to be checked in again, which it cannot be.

The row now remembers what was done and says so, with a button to decide
again:

 - "Transfer declined" (No, don't transfer), "Transfer cancelled" (Cancel
   transfer) and "Transfer left as it is" (Ignore, or closing the dialog
   with an existing transfer)
 - "Hold ignored", "Recall ignored" and "Claim not resolved" (Resolve
   later)
 - "Reopen" brings the dialog back, as it was. For a cancelled transfer it
   asks "Transfer now?": a new transfer is requested, the cancelled one is
   kept in the transfer history

Nothing changes in what the buttons do. The rows stay out of the queue of
the modals, so they do not interrupt scanning.

Test plan:
1. Apply the patch and rebuild the JS (yarn js:build)
2. Set AutomaticItemReturn to "Don't automatically transfer", and check in
   an item that belongs to another library. Press N
=> The row says "Transfer declined", with a Reopen button
3. Press Reopen, then Y
=> "Transfer now?" is asked again, and the transfer is requested
4. Repeat with a hold (Ignore), a recall (Ignore), a transfer made by
   AutomaticItemReturn (Cancel transfer) and a return claim (Resolve later)
=> Each row says what was left undone, and Reopen brings it back
5. Run:
   $ yarn cypress run --spec t/cypress/integration/Circulation/Checkin_spec.ts
=> SUCCESS: Tests pass!

Assisted-by: Sonnet 5.5 (Anthropic)
Signed-off-by: Martin Renvoize <[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