Bug 11441 - Ability to globally remove authorities with no bibliographic record linked.
Summary: Ability to globally remove authorities with no bibliographic record linked.
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Juan Romay Sieira
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-24 10:47 UTC by Iming Chan
Modified: 2015-06-04 23:30 UTC (History)
8 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 11441 - Ability to globally remove authorities with no bibliographic record linked. (1.92 KB, patch)
2014-01-21 11:58 UTC, Juan Romay Sieira
Details | Diff | Splinter Review
[SIGNED OFF] Bug 11441 - Ability to globally remove authorities with no bibliographic record linked. (1.93 KB, patch)
2014-03-14 08:22 UTC, Nicolas Legrand
Details | Diff | Splinter Review
Bug 11441 - Ability to globally remove authorities with no bibliographic record linked. (1.99 KB, patch)
2014-04-11 14:16 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Iming Chan 2013-12-24 10:47:04 UTC
Ability to globally remove unused authorities (those that are not linked to any bibliographic record).  Currently, this can be done by each heading and this is very time consuming and labour-intensive!
Comment 1 Mathieu Saby 2013-12-24 14:20:43 UTC
Good idea!

M. Saby
Comment 2 Juan Romay Sieira 2014-01-21 11:58:47 UTC Comment hidden (obsolete)
Comment 3 aloij 2014-03-12 11:47:26 UTC
Can you give us a test plan for this bug. Is it automatically applied or must we generate it?
Comment 4 Juan Romay Sieira 2014-03-12 11:52:27 UTC
It will parse all authoritiestypes (or only those given as parameter), and remove authorities without any biblio attached.
Comment 5 Nicolas Legrand 2014-03-14 08:22:42 UTC Comment hidden (obsolete)
Comment 6 Nicolas Legrand 2014-03-14 08:25:13 UTC
my installation for the Marseille hackfest was perfect too test this one :), I had loads of authorities not attached to biblios (quick import from marc dumps from BULAC ILS...). It passed the tests :). Cheers.
Comment 7 Kyle M Hall (khall) 2014-04-11 14:16:32 UTC
Created attachment 27025 [details] [review]
Bug 11441 - Ability to globally remove authorities with no bibliographic record linked.

To test it:
	Parse only PERSO_NAME authorities:
		misc/migration_tools/remove_unused_authorities.pl -aut PERSO_NAME

	Parse all authorities:
		misc/migration_tools/remove_unused_authorities.pl

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 8 Galen Charlton 2014-04-11 16:29:14 UTC
Pushed to master.  Thanks, Juan!
Comment 9 Juan Romay Sieira 2014-04-14 06:51:48 UTC
(In reply to Galen Charlton from comment #8)
> Pushed to master.  Thanks, Juan!

You're welcome
Comment 10 Fridolin Somers 2014-08-06 08:06:19 UTC
Pushed to 3.14.x, will be in 3.14.10
Comment 11 Kyle M Hall (khall) 2014-08-13 13:59:33 UTC
Picked for 3.12.15!