Bug 32237: Fix using a list as base for batch record deletion
When a list was used to select records for batch deletion, the record IDs were no longer found. To test: 1. Go to Lists in the intranet. 2. Add a list by clicking on "New list". Choose a random name for it and select private or public and save. 3.Add one or more items into it and save. 4.Go back to the main page and select "Cataloging". 5.Go to "Batch record deletion". 6.In "upload a file" select "Select a list of records" and choose a list and keep the Bibliographic on. 7.Select continue and see that the list of records is not shown. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
726ad7404c
commit
dc08b53376
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#record_ids_selection").on("submit", function(e){
|
$("#record_ids_selection").on("submit", function(e){
|
||||||
var tab = $(this).find('.ui-tabs-active:first a').attr('href');
|
var tab = $(this).find('#batch_del_form:active:first a').attr('href');
|
||||||
if ( tab == '#uploadfile_tab' ) {
|
if ( tab == '#uploadfile_tab' ) {
|
||||||
$("#shelf_number").empty('');
|
$("#shelf_number").empty('');
|
||||||
$("#recordnumber_list").val('');
|
$("#recordnumber_list").val('');
|
||||||
|
|
Loading…
Reference in a new issue