Backport r17644 from trunk: Integrate authority browse and creation support into...
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Sep 2010 21:55:04 +0000 (21:55 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Sep 2010 21:55:04 +0000 (21:55 +0000)
commitff06bc62992dfc07d0ef579dc8932af1b6854be6
treed49f5613a9cbded7741b89670d1f4d9866f3ad59
parent9b3a7b2b7c924a4adfd7a5a435bac96c0ed73ed1
Backport r17644 from trunk: Integrate authority browse and creation support into the MARC editor

This commit changes the contextual authority menu to be based on
the authority browse interface; this should result in better
matching behavior. The browse axis (author, subject, title, topic)
is based on the context tag.

The browse interface has enabled the contextual menu to grow
"Next page" / "Previous page" menu items to enable cataloguers
to wade through long lists of similar authority entries.

The browse interface has also grown a "Create new authority record"
menu with two submenu items:

 * "Create immediately" takes the field in context and creates a new authority
   record based on that field, with matching indicators and subfields.

 * "Create and edit..." displays the MARCXML for the authority record in
   a MARC editor window before saving the record to the database.

TODO: Make the "Create..." contextual options add the $0 linking subfield
to the newly controlled field.

TODO: Address some of the flaky UI behaviour, such as having to right-click
three times on an authority-controllable field to display the authority menu.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17664 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm
Open-ILS/xul/staff_client/server/cat/marcedit.js
Open-ILS/xul/staff_client/server/locale/en-US/cat.properties