Bugzilla – Attachment 122336 Details for
Bug 23656
Add search box at the top of the cataloging editor page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23656: Add hidden search bar to addbiblio and allow toggling
Bug-23656-Add-hidden-search-bar-to-addbiblio-and-a.patch (text/plain), 1.84 KB, created by
Hakam Almotlak
on 2021-06-23 14:09:17 UTC
(
hide
)
Description:
Bug 23656: Add hidden search bar to addbiblio and allow toggling
Filename:
MIME Type:
Creator:
Hakam Almotlak
Created:
2021-06-23 14:09:17 UTC
Size:
1.84 KB
patch
obsolete
>From 6a45e7b8e4bd9e21f4060319c194693e517d4d64 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 > >Signed-off-by: hakam <hakam@inlibro.com> >--- > .../prog/en/modules/cataloguing/addbiblio.tt | 10 ++++++++++ > 1 file changed, 10 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..7a46dd93d5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -22,6 +22,11 @@ > var Sticky; > $(document).ready(function() { > >+ //Toggle search box >+ $(".search_toggle").click(function(){ >+ $(".search_toggle").toggle("slow"); >+ }); >+ > [% IF bib_doesnt_exist %] > $("#addbibliotabs").hide(); > $("#toolbar").hide(); >@@ -710,6 +715,11 @@ function PopupMARCFieldDoc(field) { > </div> > > [% INCLUDE 'header.inc' %] >+ <span class="search_toggle" style="display:none;">[% INCLUDE 'cataloging-search.inc' %]</span> >+ <div> >+ <a class="search_toggle">Show search box</a> >+ <a class="search_toggle" style="display:none;">Hide search box</a> >+ </div> > > <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb"> > <ol> >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23656
:
121421
|
122336
|
122337
|
122340
|
123707
|
131127
|
146743
|
146850
|
147356