Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Jonathan Druart 2a8f84817f Bug 8246: Allow deleting record if no more items
The "Delete records if no items remain" was only available if the batch
did not contain "too many" items (see MaxItemsForBatch).
This limitation does not make any sense.

Test plan:
1/ Set MaxItemsForBatch=10
2/ Use the batch item deletion to delete 10+ items
3/ Confirm the checkbox "Delete records if no items remain" is displayed
4/ Check it
5/ Launch the job
6/ Run koha qa test tools

Verify that the records without items have been deleted also.

NOTE: My test db only had two biblios with items, so I set
      MaxItemsForBatch=1.
      Before patch, checkbox did not display.
      After patch, checkbox did display.
      This patch merely moves one line out of the IF/ELSE/END
      block, and reindents for more readability. Though, there
      is a missing <p> if you want to get picky.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-08 11:10:28 -03:00
..
batch_delete_records.tt Bug 12403 [Follow-up] Batch record deletion 2014-11-07 15:26:02 -03:00
batch_record_modification.tt Bug 11395: prevent processing no record 2015-03-05 15:27:15 +01:00
batchMod-del.tt Bug 8246: Allow deleting record if no more items 2015-04-08 11:10:28 -03:00
batchMod-edit.tt
batchMod.tt Bug 10887: Batch item deletion -- doesn't need Use default values section 2015-04-08 11:09:08 -03:00
cleanborrowers.tt
csv-profiles.tt
export.tt Bug 13040 - multiple branch selections in exporter 2015-01-26 16:22:07 -03:00
holidays.tt Bug 13289: document.write breaks DataTables 2014-11-19 21:33:01 -03:00
import_borrowers.tt Bug 12543 - Add userid as matchpoint for "Import patrons" tool 2015-02-09 13:45:06 -03:00
inventory.tt Bug 12909 - item withdrawn is missing in inventory results 2014-11-21 15:27:15 -03:00
koha-news.tt Bug 13858: Datatables paging on Koha news tool page slightly broken 2015-03-18 20:17:37 -03:00
letter.tt Bug 12648: Add the new 'Acquisition' entry in the letter module list 2015-03-11 11:47:43 -03:00
manage-marc-import.tt
marc_modification_templates.tt Bug 11395: A control field is a field with tag < 10 2015-03-05 15:27:26 +01:00
modborrowers.tt Bug 13638 - Batch patron modification tool missing option to switch language 2015-02-09 10:22:51 -03:00
overduerules.tt
picture-upload.tt
quotes-upload.tt
quotes.tt Bug 13768: Correction of double quotes escaped into double quotes 2015-03-19 14:14:20 -03:00
scheduler.tt
showdiffmarc.tt Bug 11876 [Follow-up] Add a diff view to staged MARC Records 2014-10-31 14:25:11 -03:00
stage-marc-import.tt
tools-home.tt Bug 11395: Add links to the new tool page 2015-03-05 15:27:01 +01:00
upload-images.tt
viewlog.tt