]> git.koha-community.org Git - koha.git/commit
Bug 24324: Resolve error with delete_records_via_leader.pl
authorLiz Rea <wizzyrea@gmail.com>
Fri, 3 Jan 2020 21:18:27 +0000 (21:18 +0000)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Sun, 19 Apr 2020 22:58:55 +0000 (10:58 +1200)
commitc468e3f7d47e0bd17629609453444f0d76f93119
tree4bbfead725a1bc0ce578d3cd6a1f9816d89d9cb8
parent9c9478c5c564a1b00848a350ec2cdd250ca43ae6
Bug 24324: Resolve error with delete_records_via_leader.pl

To test:

Have a record with the 000 position 5 set to "deleted" (record status)
Use koha-shell to run the job with the -i flag: perl misc/cronjobs/delete_records_via_leader.pl -c -i -v
* items and the record should be deleted
Mark another record with the 000 position 5 set to deleted (record status)
Use koha-shell to run the job without the -i flag: perl misc/cronjobs/delete_records_via_leader.pl -c -v
* if the record had items, it will not be deleted
* if the record did not have items, it will be deleted.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit b713241845e8f730b46c756fa65c4ddd17ed746b)

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
misc/cronjobs/delete_records_via_leader.pl