From 35c8ce99ba0a021b4b7f3bc75ba5fa18dae823d4 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 28 Jan 2022 02:58:55 +0000 Subject: [PATCH] Bug 29965: Preview MARC in authority search results This enhancement makes the authority MARC preview modal available for the general authority search results. To test: 1) Do a catalog search and edit a biblio record 2) Go to one of the authority tags (i.e. 1xx, 6xx, 7xx) and open the authority finder plugin 3) Do an authority search 4) Click on one of the search result headings to open the modal. Confirm it opens as expected. 5) Exit the biblio editor and go to Authorities 6) Do an authority search 7) Click on the Actions dropdown, then the MARC preview button, to open the modal. Confirm it opens as expected. Sponsored-by: Education Services Australia SCIS Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens --- .../en/includes/authority-detail-modal.inc | 17 +++++++++++ .../authorities/searchresultlist-auth.tt | 18 +----------- .../modules/authorities/searchresultlist.tt | 28 +++++++++++++++++++ 3 files changed, 46 insertions(+), 17 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/authority-detail-modal.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authority-detail-modal.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authority-detail-modal.inc new file mode 100644 index 0000000000..7cb0f9864f --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authority-detail-modal.inc @@ -0,0 +1,17 @@ + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt index 71396e85e2..2fa5990fc7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt @@ -89,23 +89,7 @@ [% END %] - - +[% INCLUDE 'authority-detail-modal.inc' %] [% MACRO jsinclude BLOCK %] [% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.30.2