]> git.koha-community.org Git - koha.git/commit
Bug 29797: Fix display of itemnumbers on the background job detail view
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Jan 2022 09:38:27 +0000 (10:38 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 7 Feb 2022 11:59:46 +0000 (06:59 -0500)
commit1eed3d49edfd324edbd79fbb33cbbe1dc4fdf5ce
tree91b1f9ed408193f561d97b3c5761d2c0e03126d9
parent874ad0729e15cb264a9222fbc01464eefca9ee1c
Bug 29797: Fix display of itemnumbers on the background job detail view

If some items have not been deleted, the detail view of the background job will display "1 item(s) could not be deleted: ", without the list of itemnumbers.
Also add a space character between itemnumbers.

Test plan:
1. Check an item out
2. Use the batch delete items tool to delete the item that is checked
out and another one.
3. On the confirmation view, use the dev tool of your browser to remove
the "disabled" property of the disabled checkbox and select both
items.
4. Submit
5. Go to the detail view of the background job and confirm that you see
the itemnumber of the item that has failed to be deleted

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_deletion.inc