Koha-clms/tools
Jonathan Druart 371723e94e Bug 23987: "return to cataloguing" if the record is deleted from bachMod-del
If a bibliographic record is deleted after having deleted all their items in a batch,
we should not display a "return to the record" button but "return to cataloguing" instead

Test plan:
1 - Have/make a bib with items
2 - On details page select Edit->Delete items in a batch
3 - Select all items and check "Delete record if no items remain"
4 - Delete the things
5 - On confirmation screen you have a count of items/bibs deleted
=> Without the patch there is a 'Return to record' button that leads to nowhere
=> With this patch there is a "Return to cataloging module" button
6 - Repeat using the "Delete selected items" link on top of the items table
=> Without the patch there is a 'Return to where you were' button that leads to nowhere
=> With this patch there is a "Return to cataloging module" button

Note that there is a link AND a button, coming from
  commit 928c0af2b6
  Bug 15824 - 'Done' button is unclear on batch item modification and deletion
I do not think it makes sense to have both.

Signed-off-by: George Williams <george@nekls.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 7c5a0759ac)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2019-12-20 15:22:47 +00:00
..
csv-profiles
…
quotes
…
access_files.pl Bug 21695: Clean up access files template 2018-12-26 20:47:04 +00:00
ajax-inventory.pl
…
automatic_item_modification_by_age.pl
…
background-job-progress.pl
…
batchMod.pl Bug 23987: "return to cataloguing" if the record is deleted from bachMod-del 2019-12-20 15:22:47 +00:00
batch_delete_records.pl Bug 12759: (follow-up) Using tabs for diff ways of adding records 2019-02-19 13:52:15 +00:00
batch_record_modification.pl Bug 12759: (follow-up) Using tabs for diff ways of adding records 2019-02-19 13:52:15 +00:00
batch_records_ajax.pl
…
cleanborrowers.pl
…
copy-holidays.pl
…
csv-profiles.pl
…
exceptionHolidays.pl
…
export.pl
…
holidays.pl
…
import_borrowers.pl Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
inventory.pl Bug 23006: Cannot use inventory with barcodes containing special chars 2019-06-10 16:47:13 +02:00
koha-news.pl
…
letter.pl Bug 23278: Reopen last panel upon "Save and continue" in notices 2019-08-06 16:45:26 +02:00
manage-marc-import.pl
…
marc_modification_templates.pl
…
modborrowers.pl Bug 23217: Remove SQL error when batch patron mod and not attribute selected 2019-08-09 14:49:36 +02:00
newHolidays.pl
…
overduerules.pl
…
picture-upload.pl Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
quotes-upload.pl
…
quotes.pl
…
scheduler.pl
…
showdiffmarc.pl
…
stage-marc-import.pl
…
stockrotation.pl
…
tools-home.pl
…
upload-cover-image.pl
…
upload-file.pl
…
upload.pl
…
viewlog.pl Bug 22365: Removing warn when accessing Log Viewer 2019-04-19 14:24:26 +00:00