Koha/misc/maintenance
Marcel de Rooy bd4992749b Bug 19451: Add no_overwrite option to borrowers-force-messaging-defaults.pl
This option allows you to add preferences only when they are not yet
present. In other words: skip patrons that already set their prefs.

Test plan:
[1] Delete all borrower messaging prefs for a patron.
[2] Run borrowers-force-messaging-defaults.pl -no-overwrite -doit
    Verify that the patron now has default msg preferences.
[3] Change his settings and make them non-default.
    For instance, increase days in advance.
[4] Run borrowers-force-messaging-defaults.pl -no-overwrite -doit
    Verify that the patron still has the non-default settings.
[5] Run borrowers-force-messaging-defaults.pl -doit
    Verify that the patron msg prefs have been overwritten.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-12 18:01:59 -03:00
..
auth_show_hidden_data.pl Bug 18811: Add a script for checking authority data in hidden fields 2017-09-12 11:30:40 -03:00
borrowers-force-messaging-defaults.pl Bug 19451: Add no_overwrite option to borrowers-force-messaging-defaults.pl 2018-02-12 18:01:59 -03:00
check_sysprefs.sh Bug 8353 follow-up adding a tiny sh in misc/maintenance 2012-07-13 14:42:55 +02:00
cmp_sysprefs.pl Bug 20056: Resolve uninitialized warn in cmp_sysprefs.pl 2018-01-30 14:21:27 -03:00
fix_accountlines_date.pl Bug 14998: Restore previous behavior 2015-11-11 11:07:27 -03:00
fix_accountlines_rmdupfines_bug8253.pl Bug 14870: (followup) Remove superfluous C4::Dates from fix_accountlines_rmdupfines_bug8253.pl 2015-11-19 13:05:06 -03:00
fix_mysql_constraints.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
make_zebra_dom_cfg_from_record_abs Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
process_record_through_filter.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
remove_items_from_biblioitems.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
sanitize_records.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
touch_all_biblios.pl Bug 19190: Silly calculation of average time in touch_all scripts 2017-10-09 16:15:48 -03:00
touch_all_items.pl Bug 19190: [Follow-up] Do not rely on the return of ModItem 2017-10-09 16:15:48 -03:00
UNIMARC_fix_collectiontitle.pl 3040 : seriestitle mistaken as collection title 2009-04-06 09:53:16 -05:00
UNIMARC_sync_date_created_with_marc_biblio.pl Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
update_authorities.pl Bug 18071: (QA follow-up) Rename commit to confirm parameter 2018-01-10 16:53:52 -03:00