]> git.koha-community.org Git - koha.git/commit
Bug 29965: (follow-up) Use a new class for the preview
authorNick Clemens <nick@bywatersolutions.com>
Fri, 18 Feb 2022 17:31:04 +0000 (17:31 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 24 Feb 2022 08:05:33 +0000 (22:05 -1000)
commit0492b19938bad7a93c4ce297c7380b34597959d4
treea789c5651a67dba84fdd9fb1e42f507fbc7d0ae2
parente155dd70a6f5593679ef38145e6bad18a8690500
Bug 29965: (follow-up) Use a new class for the preview

With previous patches everythign worked, however, clicking the heading in
authority search results now launched the preview instead of taking you to the
authority details

This patch uses a new class to launch the modal and conditionally applies it to
authority results as we expect different behaviours when searching from the popup
vs authority module

To test:
1 - Repeate previous tests, confirm they pass
2 - Search for authorities in the authority module
3 - COnfirm clicking on heading takes you to detail page for authority

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt
koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js