Bug 8208: Add fast-add link to auth finder plugin
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 2 Jul 2012 16:51:08 +0000 (12:51 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 26 Jul 2012 15:47:47 +0000 (17:47 +0200)
commit5ff81e2e8e04ebda1bcda49cb3746e66ea9a4207
treef3164cae7b02ce58d99ab1aaa7b701e6688f196f
parentba8a6ed1417ed38ca14263bfdf62177dead9e0aa
Bug 8208: Add fast-add link to auth finder plugin

When performing subject analysis, it is not uncommon to find that an
authority record you need does not exist. This commit adds a link in
the search results to enable the cataloger to create an authority on
the fly and have the heading populated by the new authority.

To test:
1. Use the auth finder plugin the cataloguing module to search for a
   heading you do not have an authority record for.
2. Click the "Create new" link.
3. Fill in your authority and save it.
4. Note that the heading field was populated with the data you entered
   in the authority record.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
1) Added a new authority using the plugin
2) Used an existing authority using the plugin
3) Created a new authority in the authority module

All worked nicely.
authorities/authorities.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt