Bug 13618: Remove filter when assigning array
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 17 Aug 2018 16:51:01 +0000 (13:51 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 17 Aug 2018 16:53:56 +0000 (16:53 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt

index 963be58..454bd11 100644 (file)
@@ -36,7 +36,7 @@
   <li>
     <label for="tagsubfield">MARC subfield: </label>
     <select id="tagsubfield" name="tagsubfield">
-      [% codes = [''] | html %]
+      [% codes = [''] %]
       [% codes = codes.merge([0..9], ['a'..'z']) | html %]
       [% FOREACH tagsubfield IN codes %]
         [% IF field && field.tagsubfield == tagsubfield %]
index 7b8f553..65983b2 100644 (file)
      <input type="text" name="description" id="description" size="20" value="[% account.description | html %]" />
   </li>
   <li>
-     [% transport_types = [ 'FTP', 'SFTP', 'FILE' ] | html %]
+     [% transport_types = [ 'FTP', 'SFTP', 'FILE' ] %]
      <label for="transport">Transport: </label>
      <select name="transport" title="valid types of transport are FTP and SFTP"
       id="transport">
index 45e9e4a..a12df46 100644 (file)
@@ -711,7 +711,7 @@ canned reports and writing custom SQL reports.</p>
 
     <label for="limit">Rows per page: </label>
     <select name="limit" id="limit">
-        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] | html %]
+        [% limits = [ 10, 20, 50, 100, 200, 300, 400, 500, 1000 ] %]
         [% FOREACH l IN limits %]
                 [% IF l == limit %]
                     <option value="[% l | html %]" selected="selected">[% l | html %]</option>
index 3b9083d..90af448 100644 (file)
@@ -47,7 +47,7 @@
             <tr><td>[% member.name | html %]</td>
                 <td>
                     <select name="itemrank" class="itemrank" data-subscriptionid="[% subscriptionid | html %]" data-routingid="[% member.routingid | html %]">
-                    [% rankings = [1 .. m_loop.size] | html %]
+                    [% rankings = [1 .. m_loop.size] %]
                     [% FOREACH r IN rankings %]
                         [% IF r == member.ranking %]
                           <option selected="selected" value="[% r | html %]">[% r | html %]</option>
index 9039415..99ca861 100644 (file)
@@ -18,7 +18,7 @@
 
 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; [% IF ( done_searched ) %]<a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> &rsaquo; Search results[% ELSE %]Serials [% END %] </div>
 
-[% url_params = [] | html %]
+[% url_params = [] %]
 [% FOREACH param IN CGI.params.pairs %]
     [% escaped_value = BLOCK %][% param.value | uri %][% END %]
     [% url_params.push(param.key _ '=' _ escaped_value) | html %]
index 1e389a5..ca7a4b3 100644 (file)
                                                         </li>
 
                                                         [% IF Koha.Preference('AllowHoldItemTypeSelection') %]
-                                                            [% itemtypes = [] | html %]
+                                                            [% itemtypes = [] %]
                                                             [% FOREACH item IN bibitemloo.itemLoop %]
                                                                 [% itemtypes.push( item.itype ) | html %]
                                                             [%- END %]