Bug 15316 - Use Bootstrap modal for authority Z39.50 search results preview
authorOwen Leonard <oleonard@myacpl.org>
Sat, 5 Dec 2015 19:33:59 +0000 (14:33 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 30 Dec 2015 15:25:46 +0000 (15:25 +0000)
commitb6cf96dbfe0491ec490eeb79c448369002063092
treeeb66be5b28b6993fd0e80649dab9c534952ef065
parentc0e6b9b14a63cb5a035cf91fca8fd38035092390
Bug 15316 - Use Bootstrap modal for authority Z39.50 search results preview

In order to reduce the number of dependencies for common interactions we
should attempt to use Bootstrap modals in place of Greybox ones.

This patch modifies the authorities Z39.50 search results page so that
MARC previews are displayed in Bootstrap modals. This patch also
modifies the authorities toolbar include file to make the Z39.50 search
popup size match that in cataloging.

Because the modal is triggered from a pop-up window, the modal has been
reformated to exclude the footer and reduce the size of the modal
header.

To test:

1. Apply the patch and navigate to Authorities.
2. Click the "New from Z39.50" button to open the search
   window.
3. Perform any search which will return multiple results.
4. Test the visible "MARC" link for multiple results and
   confirm that the correct data is shown each time.
5. Click anywhere in the results table to show the hidden menu and test
   the "MARC" link it displays.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt