From 22b751a4cc3fdc312ef2aa51e396d901e19c7e3d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 26 May 2021 10:35:02 +0000 Subject: [PATCH] Bug 23656: Add hidden search bar to addbiblio and allow toggling This patch adds the search header to the cataloging editor page, defaulted as hidden A new link is added to show the bar, or hide the bar To test: 1 - Apply patch 2 - Load the basic cataloging editor for a book 3 - Note new link near top 'Show search box' 4 - Click it 5 - Search box appears 6 - Click now visible 'Hide search box' 7 - Search box hides 8 - Confirm search box works as expected 9 - Repeat for the advanced cataloging editor --- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 5 +++++ .../intranet-tmpl/prog/en/modules/cataloguing/editor.tt | 5 +++++ koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 00c6767d1a..6c94ea0a62 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -710,6 +710,11 @@ function PopupMARCFieldDoc(field) { [% INCLUDE 'header.inc' %] + +
+ Show search box + +