From 4e472c2e5830c545d5deb699b2b02c5dc3c06542 Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Mon, 24 Oct 2022 13:33:45 +0000 Subject: [PATCH] Bug 31936: Restore link to advanced search in acquisitions header This patch adds back the link to the advanced order search page which was previously in the acquisitions header search. Some CSS is tweaked to make the form style comfortable. To test, apply the patch and rebuild the staff interface CSS. - Go to Acquisitions. - In the header search form, click "Orders search" - Click the icon in the search form to expand the additional options. - You should see an "Advanced search" link which is the same style as other standard links. - The link should take you to the order search form. --- koha-tmpl/intranet-tmpl/prog/css/src/_header.scss | 8 ++++++++ .../prog/en/includes/acquisitions-search.inc | 3 +++ 2 files changed, 11 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss index 4fe69590de..14fd55638c 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss @@ -160,6 +160,14 @@ a.navbar-toggle { z-index: 1; display: none; + a { + color: $green-text-color; + } + + div { + margin-bottom: .5em; + } + .form-control { display: block; width: 100%; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc index 3d7f599fd3..4264cb9256 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc @@ -37,6 +37,9 @@ <label for="booksellerinvoicenumber" class="control-label">Invoice number</label> <input type="text" class="form-control" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" /> </div> + <div> + <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a> + </div> </div> </form> </div> -- 2.20.1