Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Jonathan Druart 6b2c55ecdd Bug 11490: Split MaxItemsForBatch into 2 prefs to clarify things
Prior to this patch, a single pref (MaxItemsForBatch) was used to
restrict the use of the batch item modification and deletion.

On the batch modification tool, the pref is used to limit the number of
items a librarian is allowed to modify in a batch, but on the batch
deletion tool the pref is used to limit the number of items to display.

To clarify things, this patch split the pref into 2 new prefs:
MaxItemsToDisplayForBatchDel and MaxItemsToProcessForBatchMod.

Later we could add a MaxItemsToProcessForBatchDel if needed.
Note that this patch should not introduce any changes in the current behaviors.

Test plan:
0/ Do not execute the update DB entry
1/ Set a value != 1000 for MaxItemsForBatch
2/ Execute the update DB entry and confirm that the 2 new prefs are
initially set with the value of MaxItemsForBatch and that
MaxItemsForBatch has been deleted
3/ Set different values for these 2 prefs (2 and 3 for instance to ease
the next steps)
4/ Try to delete less than MaxItemsToDisplayForBatchDel items
=> You must see the items details
5/ Try to delete more than MaxItemsToDisplayForBatchDel items
=> You must not see the items details but are allowed to delete them
6/ Try to modify less than MaxItemsToProcessForBatchMod items
=> You must see the items details
7/ Try to modify more than MaxItemsToProcessForBatchMod items
=> You must be restricted and not allowed to process

Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-06-24 11:50:27 +00:00
..
automatic_item_modification_by_age.tt Bug 16437 - Automatic item modifications by age needs prettying 2016-05-31 11:57:12 +00:00
batch_delete_records.tt Bug 16438: (followup) remove item where no single icon exist for options 2016-05-05 19:49:34 +00:00
batch_record_modification.tt Bug 16438: Use Font Awesome icons in batch templates 2016-05-05 19:49:33 +00:00
batchMod-del.tt Bug 16438: Use Font Awesome icons in batch templates 2016-05-05 19:49:33 +00:00
batchMod-edit.tt Bug 11490: Split MaxItemsForBatch into 2 prefs to clarify things 2016-06-24 11:50:27 +00:00
batchMod.tt
cleanborrowers.tt Bug 10612 - Add ability to delete patrons with batch patron deletion tool 2016-04-01 19:52:13 +00:00
csv-profiles.tt Bug 15413: Adding colons where appropriate 2016-03-25 21:50:56 +00:00
export.tt Bug 16548 - All libraries selected on Tools -> Export Data screen 2016-05-30 11:17:28 +00:00
holidays.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
import_borrowers.tt Bug 16426: follow-up of bug 15840 - correctly manage userid while inserting patrons 2016-05-06 03:41:37 +00:00
inventory.tt Bug 16454: Use 'inventory' instead of 'inventory/stocktaking' 2016-05-16 17:42:39 +00:00
koha-news.tt Bug 16372 - Replace the use of "onclick" for deletion confirmation in some templates 2016-04-29 16:11:14 +00:00
letter.tt Bug 1859: Do not display <<>> if an entry without value is selected 2016-05-16 17:25:57 +00:00
manage-marc-import.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
marc_modification_templates.tt Bug 16148 [Follow-up] - Use Font Awesome for arrows instead of images 2016-06-17 16:11:44 +00:00
modborrowers.tt Bug 16238: Use .prop() instead of .attr() for 'checked' 2016-04-29 14:18:24 +00:00
overduerules.tt Bug 16537 - Overdue and Status triggers grammar 2016-06-04 09:50:44 +00:00
picture-upload.tt Bug 15635: Koha::Patron::Images - Remove PutPatronImage 2016-03-04 12:53:00 +00:00
quotes-upload.tt Bug 16589 - Quote of the day: Fix upload with csv files associated to LibreOffice Calc 2016-06-10 17:39:13 +00:00
quotes.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt Bug 16337 - Remove the use of "onclick" from the stage MARC records template 2016-04-29 16:43:55 +00:00
tools-home.tt Bug 16454: Use 'inventory' instead of 'inventory/stocktaking' 2016-05-16 17:42:39 +00:00
upload-images.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
upload.tt Bug 16529 - Clean up and improve upload template 2016-06-04 06:53:01 +00:00
viewlog.tt Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00