https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44206
--- Comment #1 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 212195 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212195&action=edit Bug 44206: Remove the redundant text from the check-in transfer dialog When the transfer already exists (AutomaticItemReturn), the dialog "Please return this item to: <library>" showed a grey text saying that "Cancel transfer" cancels it and "Ignore" leaves it as it is. With TransfersBlockCirc enabled, which is the default, the page is blocked until a choice is made, so the dialog only has "OK (Y)" and "Print slip (P)". The text described two buttons that are not shown. The text is also not needed: the buttons say what they do, and the dialog still has the reason for the transfer and, when closing it is allowed, the hint about Escape. Remove the text, and test that the blocking dialog does not describe buttons it does not show. To test: 1. Set TransfersBlockCirc to "Block" and enable AutomaticItemReturn 2. Check in an item whose home library is not the library you are logged in at => Without the patch the dialog has a grey text about "Cancel transfer" and "Ignore", and only the buttons "OK (Y)" and "Print slip (P)" 3. Apply the patch, run yarn js:build and hard refresh 4. Check in another such item => The dialog has no grey text, with the same two buttons 5. Set TransfersBlockCirc to "Don't block" and check in another such item => The dialog has "OK (Y)", "Print slip (P)", "Cancel transfer (X)" and "Ignore (I)", and no grey text 6. Run the Cypress spec t/cypress/integration/Circulation/Checkin_spec.ts -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ 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/
