Koha/misc
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
..
admin
bin Bug 20410: Remove OpacGroupResults and PazPar2 2021-02-08 16:12:42 +01:00
cronjobs Bug 27050: Allow multiple category_codes in delete_patrons.pl 2021-02-08 17:09:34 +01:00
devel
interface_customization
load_testing
maintenance Bug 25381: XSLTs should not define entities 2021-01-22 13:46:40 +01:00
migration_tools Bug 25306: (QA follow-up) Remove framework from bulkmarcimport 2021-01-12 16:13:50 +01:00
release_notes
search_tools Bug 26996: Convert Elasticsearch indexer commit buffer size to integer 2021-01-04 13:29:55 +01:00
translator
add_date_fields_to_marc_records.pl
background_jobs_worker.pl
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl
batchRebuildBiblioTables.pl
batchRebuildItemsTables.pl
batchRepairMissingBiblionumbers.pl Bug 25306: Remove framework paramter from ModBiblioMarc 2021-01-12 16:13:50 +01:00
check_sysprefs.pl
commit_file.pl
export_borrowers.pl Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
export_records.pl
exportauth.pl
import_patrons.pl Bug 27586: Import patrons script has a confirm switch that doesn't nothing! 2021-02-08 14:55:59 +01:00
koha-install-log Bug 20410: Remove OpacGroupResults and PazPar2 2021-02-08 16:12:42 +01:00
kohalib.pl
link_bibs_to_authorities.pl
load_yaml.pl
mod_zebraqueue.pl
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl
sax_parser_print.pl
sax_parser_test.pl
sip_cli_emulator.pl
stage_file.pl
z3950_responder.pl