Bug 15360: Incorrect or mislabeled behavior on Authorities "New from Z39.50" Button
authorOwen Leonard <oleonard@myacpl.org>
Thu, 31 May 2018 13:29:33 +0000 (13:29 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 2 Jul 2018 17:06:37 +0000 (18:06 +0100)
commit6900e766130442f7baff42545f1b0b6bfdb0e508
tree14595c43d5eb2e6b0099b26192d5557031994dad
parentda51f6bcc9eb2bff48da2d7ca0efb7b791c62192
Bug 15360: Incorrect or mislabeled behavior on Authorities "New from Z39.50" Button

This patch makes a third stab at resolving this issue by reorganizing
the authorities toolbar buttons to more closely match the bibliographic
toolbar buttons:

 - "New from Z39.50" has been added to the "New authority" dropdown.
 - "Edit" is now a dropdown, like on the bibliographic detail page:
    - Edit record
    - Edit as new (duplicate)
    - Replace record via Z39.50/SRU
    - Delete record

To test, apply the patch and go to the authorities module. Testing with
existing Z39.50 authority sources configured:

  - On the authorities home page and the authorities search results
    page, the "New authority" menu should have a "New from Z39.50" link.
  - View the details for an authority record. The menus should appear as
    described above. Test each option.

Remove all Z39.50 authority servers and test again. The "New from
Z39.50" link should no longer appear.

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
authorities/detail.pl
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc