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)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 3 Apr 2020 21:25:00 +0000 (21:25 +0000)
commitb713241845e8f730b46c756fa65c4ddd17ed746b
treef667604b06da70a764cb24a8a160df285860c4ec
parent554391e56a4bf774283653f98fc24608cd9186e2
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>
misc/cronjobs/delete_records_via_leader.pl