Koha/tools
Nick Clemens 284226a496 Bug 13560: Add an 'Add' option for marc modification templates
Add/Update would update a field or create new if it existed, but didn't
allow for creating new if the field existed.

This patchset splits the options to 'Add & Update' so that 'Add' will always
add a field and 'Update' will operate as it always has

To test:
1 - Have a record with a known existing field (make a copy)
2 - Define a marc modification template that 'Add/update' on that field
3 - Define an 'Add/Update' on a field that doesn't exist
4 - Batch modify the copy of record using the above template
5 - Verify the existing field was updated
6 - Verify the non-existing field was updated
7 - Apply patch and update database
8 - Make another copy
9 - Modify the copy with the same template as above
10 - Should match initial modification
11 - Add a new rule to add a new field
12 - Modify using the updated template
13 - Ensure your new field is created
14 - Test various options in the modification tool
15 - prove t/db_dependent/MarcModificationTemplates.t

Signed-off-by: Victor Grousset <victor.grousset@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-19 17:22:18 +00:00
..
csv-profiles
quotes
access_files.pl Bug 11317: (follow-up) Add two-level entry to koha-conf and remove unwanted characters 2018-05-03 13:26:50 -03:00
ajax-inventory.pl
automatic_item_modification_by_age.pl
background-job-progress.pl
batch_delete_records.pl
batch_record_modification.pl
batch_records_ajax.pl
batchMod.pl Bug 20305: Remove warnings from tools scripts 2018-05-07 11:55:23 -03:00
cleanborrowers.pl
copy-holidays.pl
csv-profiles.pl
exceptionHolidays.pl
export.pl
holidays.pl
import_borrowers.pl Bug 12598: Add use Koha::Patron::debarments statement 2018-02-16 14:05:17 -03:00
inventory.pl Bug 20067: Fix other checks for linked authorised value categories 2018-03-26 17:01:10 -03:00
koha-news.pl
letter.pl Bug 20444: Use Koha::Patron::Attribute::Types object for getting patron attributes in letter.pl 2018-05-03 13:26:49 -03:00
manage-marc-import.pl Bug 20180: [sql_modes] Remove GROUP BY clause in manage-marc-import.pl 2018-04-09 16:15:17 -03:00
marc_modification_templates.pl Bug 13560: Add an 'Add' option for marc modification templates 2018-07-19 17:22:18 +00:00
modborrowers.pl Bug 20287: Move ModMember to Koha::Patron 2018-07-18 15:49:50 +00:00
newHolidays.pl
overduerules.pl
picture-upload.pl
quotes-upload.pl
quotes.pl
scheduler.pl
showdiffmarc.pl
stage-marc-import.pl
tools-home.pl
upload-cover-image.pl
upload-file.pl
upload.pl Bug 20695: Fix multiple upload result in tools/upload script 2018-05-11 10:52:45 -03:00
viewlog.pl Bug 18789: (QA follow-up) Fix viewlog when accessed via circulation 2018-02-16 13:03:59 -03:00