[Koha-bugs] [Bug 16948] 'Return to batch item deletion' button should only show when there are items that could not be deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 21 00:04:59 CEST 2016


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

--- Comment #1 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 53539
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53539&action=edit
Bug 16948: 'Return to batch item deletion' button should only show when there
are items that could not be deleted

To test:

1) Go to Tools --> Batch item deletion
2) Put in an item barcode and click Continue
3) Deselect the item (so that you don't actually delete it) and click Delete
selected items
4) Notice there are two links that say 'Return to batch item deletion' - one as
a link and one as a button.
5) Apply patch and refresh page. You may have to go back and resend the form
6) Button should be gone, only one link shows.
7) Check out the same item that you are testing with to a patron
8) Put the barcode into batch item deletion again and follow the prompts. Do
not deselect it after clicking Continue this time. (It will not be deleted as
it has been checked out).
9) After clicking Delete selected items, you should be redirected and see a
table with the item in it and the reason it can't be deleted. The button and
the link saying 'Return to batch item deletion' should both be present.

Sponsored-by: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list