Bugzilla – Attachment 69836 Details for
Bug 19706
Item search: Unsupported format html
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19706: (QA follow-up) Hide the collection code selector if no value is defined (for consistency)
Bug-19706-QA-follow-up-Hide-the-collection-code-se.patch (text/plain), 1.60 KB, created by
Josef Moravec
on 2017-12-17 07:32:01 UTC
(
hide
)
Description:
Bug 19706: (QA follow-up) Hide the collection code selector if no value is defined (for consistency)
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-12-17 07:32:01 UTC
Size:
1.60 KB
patch
obsolete
>From e9aaf401c78f16cc5ec6dda8f1346ca4a947e640 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Sun, 17 Dec 2017 07:24:53 +0000 >Subject: [PATCH] Bug 19706: (QA follow-up) Hide the collection code selector > if no value is defined (for consistency) > >Test plan: >0) Go to item search >1) Do have some authorized values in CCODE category -> selector of >collection is visible >2) Don't have any authorized value in CCODE category -> selector of >collection is not visible > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index 5b9edbe..e052169 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -134,7 +134,9 @@ > </fieldset> > <fieldset> > [% INCLUDE form_field_select name="itype" options = itemtypes empty_option = "All item types" %] >- [% INCLUDE form_field_select name="ccode" options = ccodes empty_option = "All collection codes" %] >+ [% IF ccodes.size %] >+ [% INCLUDE form_field_select name="ccode" options = ccodes empty_option = "All collection codes" %] >+ [% END %] > [% IF notforloans.size %] > [% INCLUDE form_field_select name="notforloan" options = notforloans empty_option = "All statuses" %] > [% END %] >-- >2.1.4
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 19706
:
69729
|
69745
|
69800
|
69831
|
69832
|
69835
| 69836