]> git.koha-community.org Git - koha.git/commit
Bug 11484: Add option to cleanup_database.pl to purge Z39.50 search records from...
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 6 Jan 2014 18:46:02 +0000 (13:46 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Aug 2014 09:44:45 +0000 (11:44 +0200)
commite63e3bc34f65caf36edfdf0a6b57425d616cdc80
treefeafaa0602b1783faaba2065ac8e817d1cc3b1d3
parentd9e1a5de8eeb01a450321e4a64d1b9d3fa444405
Bug 11484: Add option to cleanup_database.pl to purge Z39.50 search records from reservoir

It would be good to be able to specifically target import records from
Z39.50 for cleanup.

Test Plan:
1) Apply this patch
2) Import one or more batch record sets into Koha
3) Perform some Z39.50 searches
4) Run this command: misc/cronjobs/cleanup_database.pl -v --z3950
5) Verify that only Z39.50 records were deleted

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit f796d1002a39cd714433a219b35eefbce31b02d8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/cronjobs/cleanup_database.pl