Koha/misc/cronjobs
Timothy Alexis Vass 8fbfa9da18 Bug 27050: Allow multiple category_codes in delete_patrons.pl
This patch allows multiple --category_code <categorycode> in delete_patrons.pl

The t/db_dependent/Members.t test has 2 added testcases with multiple category_code.

To test:
1) Run the test: prove -l . -v t/db_dependent/Members.t
2) This requires records in the database with at least two category codes. For example PT and ST.
3) Run the script: delete_patrons.pl --category_code PT
4) Confirm the number of patrons that would have been deleted.
5) Run the script: delete_patrons.pl --category_code PT --category-code ST
6) Confirm the number of patrons that would have been deleted.
7) Sign Off

Sponsored-by: Lunds Universitetsbibliotek

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-08 17:09:34 +01:00
..
holds Bug 12656: Allow --reason to be passed to cancel_expired_holds 2020-11-04 12:59:33 +01:00
rss Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
social_data
thirdparty Bug 25333: Change message transport type for Talking Tech from "phone" to "itiva" 2020-11-04 12:59:32 +01:00
advance_notices.pl Bug 11344: (QA follow-up) Fix empty section warning 2021-01-27 10:45:54 +01:00
archive_purchase_suggestions.pl
automatic_item_modification_by_age.pl
automatic_renewals.pl Bug 24083: (follow-up) Make requested changes 2020-11-11 16:09:58 +01:00
backup.sh
batch_anonymise.pl
build_browser_and_cloud.pl Bug 27491: Rename system preference opaclanguages to OPACLanguages 2021-01-22 14:59:27 +01:00
cart_to_shelf.pl
check-url-quick.pl
cleanup_database.pl Bug 24541: Purge old messages 2021-01-04 16:31:29 +01:00
cloud-kw.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
cloud-sample.conf
CONFIGURE.gmail
create_koc_db.pl
crontab.example Bug 25245: Add plugins_nightly.pl to the default cron 2021-01-20 13:49:55 +01:00
delete_items.pl
delete_patrons.pl Bug 27050: Allow multiple category_codes in delete_patrons.pl 2021-02-08 17:09:34 +01:00
delete_records_via_leader.pl
edi_cron.pl Bug 23682: Fix use Koha::Plugins::Handler statements 2020-09-03 15:00:48 +02:00
fines.pl Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
gather_print_notices.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
import_webservice_batch.pl
longoverdue.pl Bug 25958: (QA follow-up) Implement filter in database query instead of in loop 2020-08-25 12:01:43 +02:00
membership_expiry.pl
merge_authorities.pl
notice_unprocessed_suggestions.pl
overdue_notices.pl Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
patron_emailer.pl
plugins_nightly.pl Bug 25245: (follow-up) Use Koha::Logger 2021-01-20 13:49:55 +01:00
printoverdues.sh
process_message_queue.pl Bug 25097: Add option to message_queue to allow for only specific sending notices 2020-06-24 15:15:41 +02:00
purge_suggestions.pl
reconcile_balances.pl
remove_temporary_edifiles.pl
runreport.pl Bug 22343: Fix runreport encoding issues 2020-10-02 15:23:52 +02:00
serialsUpdate.pl
share_usage_with_koha_community.pl
sitemap.pl
staticfines.pl
stockrotation.pl
update_patrons_category.pl Bug 25624: Add --where option to update_patrons_category.pl 2020-09-28 16:09:10 +02:00
update_totalissues.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00