Bugzilla – Attachment 77997 Details for
Bug 13618
Add additional template filter methods and a filter presence test to Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13618: Remove filter when assigning array
Bug-13618-Remove-filter-when-assigning-array.patch (text/plain), 5.54 KB, created by
Jonathan Druart
on 2018-08-17 18:02:05 UTC
(
hide
)
Description:
Bug 13618: Remove filter when assigning array
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-08-17 18:02:05 UTC
Size:
5.54 KB
patch
obsolete
>From 309d5b8d983906077de82e6bc85b15c5d759e7b6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 17 Aug 2018 13:51:01 -0300 >Subject: [PATCH] Bug 13618: Remove filter when assigning array > >--- > .../intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc >index 963be5837b..454bd113f1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc >@@ -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 %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >index 7b8f553966..65983b2484 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt >@@ -100,7 +100,7 @@ > <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"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 45e9e4a470..a12df46229 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -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> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >index 3b9083dded..90af448ca2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt >@@ -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> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index 9039415c31..99ca86165f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -18,7 +18,7 @@ > > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › [% IF ( done_searched ) %]<a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › 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 %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 1e389a5fa0..ca7a4b3e4e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -272,7 +272,7 @@ > </li> > > [% IF Koha.Preference('AllowHoldItemTypeSelection') %] >- [% itemtypes = [] | html %] >+ [% itemtypes = [] %] > [% FOREACH item IN bibitemloo.itemLoop %] > [% itemtypes.push( item.itype ) | html %] > [%- END %] >-- >2.11.0
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 13618
:
35488
|
35516
|
40480
|
40481
|
40482
|
40483
|
40484
|
40485
|
40487
|
41346
|
41347
|
41348
|
41349
|
41350
|
41351
|
41352
|
41353
|
41354
|
41355
|
41746
|
41747
|
41776
|
42009
|
42054
|
42072
|
42073
|
42075
|
42078
|
42079
|
42087
|
42090
|
42091
|
42092
|
42093
|
42094
|
42095
|
42096
|
42097
|
45141
|
45784
|
45785
|
45788
|
46767
|
46768
|
46769
|
46770
|
46771
|
46772
|
46773
|
46774
|
46775
|
46776
|
46777
|
46778
|
46779
|
46780
|
46781
|
46782
|
46783
|
46784
|
46785
|
46786
|
46787
|
46788
|
46789
|
46790
|
46791
|
46792
|
46793
|
46794
|
46795
|
46796
|
46797
|
46798
|
46799
|
46800
|
46801
|
46802
|
46803
|
46804
|
46805
|
46806
|
46807
|
46808
|
46809
|
46810
|
46811
|
46812
|
46813
|
46814
|
46815
|
46816
|
46817
|
46818
|
46819
|
46820
|
46821
|
46822
|
47425
|
47426
|
47427
|
47428
|
47429
|
47430
|
47431
|
47432
|
47433
|
47434
|
47435
|
47436
|
47437
|
47438
|
47439
|
47440
|
47441
|
47442
|
47443
|
47444
|
47445
|
47446
|
47447
|
47448
|
47449
|
47450
|
47451
|
47452
|
47631
|
59983
|
59984
|
59987
|
77804
|
77805
|
77806
|
77807
|
77808
|
77809
|
77997
|
77998
|
78158
|
78274
|
78415
|
79404
|
79818
|
81183
|
83479
|
83480