From e53ddcb117bf07a73d3665091fc187afb41f3844 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 24 Mar 2020 18:02:56 +0000 Subject: [PATCH] Bug 22579: Split actions in z3950 search results into a split button Where 'Import' is the main button and the two card previews are in the dropdown Also show Card preview when clicking on title of record To test: 1) Go to Cataloguing -> New from Z39.50/SRU 2) Search for a term that will produce results 3) Once results are shown, notice the split button 4) Click anywhere on results rows. Confirm the dropdown menu still shows when you click anywhere, as normal 5) Confirm clicking the title pops up the Card preview 6) Confirm Import is the main button in the actions and still works as expected Sponsored-by: Horowhenua Library Trust --- .../prog/en/modules/cataloguing/z3950_search.tt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index e1b6082f044..8cc9d9d1b05 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -136,7 +136,7 @@ [% IF ( breeding_loo.breedingid ) %] [% breeding_loo.server | html %] - [% breeding_loo.title | html %] + [% breeding_loo.title | html %] [% breeding_loo.author | html %] [% breeding_loo.date | html %] [% breeding_loo.edition | html %] @@ -155,14 +155,14 @@ [% END %] -
- - Actions + @@ -280,7 +280,7 @@ var dropdown = $(".dropdown", row); dropdown.addClass("open"); var position = $(this).offset(); - var top = position.top + 5; + var top = position.top - 5; var left = position.left + 5; dropdown.css("position","unset"); $(".dropdown-menu", row).css({ -- 2.11.0