[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 18:50:20 CEST 2016


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53558|0                           |1
        is obsolete|                            |

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 53595
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53595&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
Signed-off-by: Claire Gravely <c.gravely at arts.ac.uk>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list