Bug 15313 - Use Bootstrap modal for z39.50 search MARC and Card preview
authorOwen Leonard <oleonard@myacpl.org>
Fri, 4 Dec 2015 19:32:08 +0000 (14:32 -0500)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 30 Dec 2015 03:31:28 +0000 (03:31 +0000)
commit0ca5c7ea4f6abfef26f4b158da1ae76210728c6a
treeb9333138e9f51b105a504e599dccfb20ed5dc2a5
parent881433043903ead9d37a434342e3b998bc86c17b
 Bug 15313 - Use Bootstrap modal for z39.50 search MARC and Card 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 cataloging Z39.50 search results page so that
"MARC" and "Card" previews are displayed in Bootstrap modals.

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 Cataloging.
2. Click the "New from Z39.50/SRU button to open the search
   window.
3. Perform any search which will return results.
4. Test the visible "MARC" and "Card" links 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" and "Card" links it displays.

Corrected: The original patch didn't address the hidden menu which
appears if you click in any table cell.

Followed test plan, works as expected (including click in table cell).
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt