http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11084
Brendan Gallagher <bren...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38361|0 |1 is obsolete| | --- Comment #32 from Brendan Gallagher <bren...@bywatersolutions.com> --- Created attachment 46021 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46021&action=edit Bug 11084 - Delete biblios on Leader 05 == d Position 05 of the leader in MARC 21 indicates the record's status. A lower case 'd' indicates that the record is to be deleted (http://www.loc.gov/marc/authority/adleader.html). This patch adds a cronjob script that may be run nightly to delete records where position 05 of the leader is set to 'd'. Test Plan: 1) Edit one or more records, and set the leader position 05 to 'd'. 2) Run misc/cronjobs/delete_records_via_leader.pl -c -v 3) Those records should either be deleted, or an error message should state why they were not. Signed-off-by: Magnus Enger <mag...@enger.priv.no> Works as advertised. Edited a record with an item to have leader05 = d, then ran delete_records_via_leader.pl with -c and got a message that the record could not be deleted because of the item. Removed the item and the script deleted the record. Tried with another record with an item, this time with the -i option and the record was deleted. Signed-off-by: Katrin Fischer <katrin.fischer...@web.de> Signed-off-by: Brendan A Gallagher <bren...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/