Koha/misc
Rogan Hamby 5e2fe4418d
Bug 18414: Allow to use other select criteria with delete_patrons.pl
Adds the ability to specify a file with the --file flag that
should be a list of borrowernumbers for deletion.
If used without other flags it will delete the list of borrowers,
if used with other flags it will treat the other criteria
as filters for the list.

To Test:
1) Specify a list, e.g. borrowers.txt, of borrowernumbers in the database and put them in a text file with one per line
2) Invoke the script like ./delete_patrons.pl --file borrowers.txt to delete those patrons
3) Populate the list with a mix of borrowers in a category and those not, say categoryfoo
4) Invoke the scirpt as ./delete_patrons.pl --category_code categoryfoo --file borrowers.txt
5) Only the borrowers in the file that have the specified category will be deleted

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-24 10:42:18 +00:00
..
admin
bin
cronjobs Bug 18414: Allow to use other select criteria with delete_patrons.pl 2020-03-24 10:42:18 +00:00
devel
interface_customization
load_testing
maintenance Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
migration_tools Bug 23463: Replace ModItem with Koha::Item->store 2020-03-23 09:26:30 +00:00
release_notes
search_tools Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
translator Bug 24262: (follow-up) admit null values on labels 2020-03-09 13:54:24 +00:00
add_date_fields_to_marc_records.pl
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl
batchRebuildBiblioTables.pl Bug 24827: Standardise on 'UTF-8' as the encoding name 2020-03-16 14:45:39 +00:00
batchRebuildItemsTables.pl
batchRepairMissingBiblionumbers.pl
check_sysprefs.pl
commit_file.pl Bug 17845: Adjust few other occurrences 2020-03-10 15:18:28 +00:00
export_borrowers.pl
export_records.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
exportauth.pl
import_patrons.pl
koha-install-log
kohalib.pl
link_bibs_to_authorities.pl
mod_zebraqueue.pl
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
sax_parser_print.pl
sax_parser_test.pl
sip_cli_emulator.pl
stage_file.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
z3950_responder.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00