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 Bug 12180 - Remove HTML from batchMod.pl 2014-08-19 09:28:07 -03:00
batchMod.tt Bug 10887: Batch item deletion -- doesn't need Use default values section 2015-04-08 11:09:08 -03:00
cleanborrowers.tt Bug 11975: improve the batch patron deletion code 2014-05-09 14:32:21 +00:00
csv-profiles.tt Bug 11812 - Add missing "required" indicator to fields which are required 2014-10-22 14:04:43 -03:00
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 Bug 11876 - Add a diff view for staged MARC records. 2014-10-31 14:24:58 -03:00
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 Bug 11742: A letter code should be unique. 2014-06-23 15:19:55 -03:00
picture-upload.tt Bug 9310 - Patron image upload template corrections 2013-01-17 21:53:42 -05:00
quotes-upload.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
quotes.tt Bug 13768: Correction of double quotes escaped into double quotes 2015-03-19 14:14:20 -03:00
scheduler.tt Bug 8181 [REVISED] Replace DynArch calendar widget with jQueryUI version 2012-06-25 18:26:26 +02:00
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 Bug 8015: Add MARC Modifications Templates 2013-10-31 22:47:08 +00:00
tools-home.tt Bug 11395: Add links to the new tool page 2015-03-05 15:27:01 +01:00
upload-images.tt Bug 11785 - Use validation plugin when uploading local cover images 2014-02-20 16:56:21 +00:00
viewlog.tt Bug 11331 - CSV export for viewlog.pl is missing newlines - followup 2014-08-05 20:26:02 -03:00