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

--- Comment #222 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211714
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211714&action=edit
Bug 42383: (QA follow-up) Add an explicit "Ignore" to the transfer dialog for
an existing transfer

The transfer dialog is shown whenever the check-in has a transfer attached:
a return to home created by AutomaticItemReturn, a transfer for a hold at
another library, a pending transfer found for the item (stock rotation
for example) or the replacement of a wrong transfer. For those the only
choices were to confirm (OK, Print slip) or to cancel the transfer.

There was no way to say "leave it as it is" other than dismissing the
dialog with Escape, which also depends on AutomaticConfirmTransfer: with
the preference on, dismissing confirms the transfer, with it off it is left
alone. Staff could not tell what a dismissal would do.

Add "Ignore (I)" next to "Cancel transfer (C)". It neither confirms nor
cancels: the transfer is left exactly as it was, whatever
AutomaticConfirmTransfer is set to, and the row stops asking. As for
"Cancel transfer", it is only offered when the dialog does not block: with
TransfersBlockCirc a decision is required, so only OK and Print slip are
available.

Test plan:
1. Apply the patch and rebuild the JS (yarn js:build)
2. With AutomaticItemReturn on and TransfersBlockCirc off, check in an
   item that belongs to another library
=> OK (Y) / Print slip (P) / Cancel transfer (C) / Ignore (I)
3. Press I
=> The dialog closes, the transfer is untouched (not cancelled)
4. Set TransfersBlockCirc to Block and repeat
=> No Cancel transfer and no Ignore, the page is blocked until OK
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