From 1b92af8cde22b7c2e326f271c5ef4afda6d44f5d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 25 Apr 2013 08:49:51 -0400 Subject: [PATCH] Bug 10115 - Hiding advanced search in Orders search tab removes plus button Content-Type: text/plain; charset="utf-8" The logic of the JavaScript for showing and hiding additional options in the orders search form wasn't quite right, resulting in the +/- control being hidden incorrectly. This patch corrects and simplifies the JS in order to fix the problem. To test: - Open any page in Acquisitions which shows the orders search form in the header search bar (for instance, Acquisitions home). - Open the orders search tab and click on the "+" to show more options. - Click the "-" to hide the additional options. The additional options should now be hidden and the "+" displayed. --- .../prog/en/includes/acquisitions-search.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 5855c78..5aebf54 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc @@ -14,8 +14,8 @@ - - [+] + + [+] Advanced search