Bug 14828 [QA Followup] - Hide in OPAC checkbox not checked in editor even if enabled
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jan 2016 19:14:14 +0000 (19:14 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 27 Jan 2016 20:46:58 +0000 (20:46 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt

index 33ac762..bcd8c4d 100644 (file)
@@ -233,7 +233,7 @@ Item types administration
             <ol>
                 <li>
                     <label for="hideinopac">Hide in OPAC: </label>
-                    [% IF ( hideinopac ) %]
+                    [% IF ( itemtype.hideinopac ) %]
                         <input type="checkbox" id="hideinopac" name="hideinopac" checked="checked" value="1" />
                     [% ELSE %]
                         <input type="checkbox" id="hideinopac" name="hideinopac" value="1" />