Bugzilla – Attachment 126856 Details for
Bug 22605
Adding the option to modify/edit searches on the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22605: (QA follow-up) Add missing TT filters
Bug-22605-QA-follow-up-Add-missing-TT-filters.patch (text/plain), 4.80 KB, created by
Katrin Fischer
on 2021-10-25 20:49:01 UTC
(
hide
)
Description:
Bug 22605: (QA follow-up) Add missing TT filters
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-10-25 20:49:01 UTC
Size:
4.80 KB
patch
obsolete
>From d2735cbde7bd962e2ec6d32bfe83d76e6c5c75f3 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 24 Oct 2021 16:28:52 +0000 >Subject: [PATCH] Bug 22605: (QA follow-up) Add missing TT filters > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc | 10 +++++----- > .../intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 12 ++++++------ > 2 files changed, 11 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc >index 2b9e6c2260..4d968b8a91 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/subtype_limits.inc >@@ -45,7 +45,7 @@ > [% ELSE %] > <option value="aud:j">Juvenile</option> > [% END %] >- [% limits.delete( 'aud' ) %] >+ [% limits.delete( 'aud' ) | html %] > </select> > > <select name="limit" class="subtype"> >@@ -79,9 +79,9 @@ > [% ELSE %] > <option value="mus:i" >Non-musical recording</option> > [% END %] >- [% limits.delete( 'fic' ) %] >- [% limits.delete( 'bio' ) %] >- [% limits.delete( 'mus' ) %] >+ [% limits.delete( 'fic' ) | html %] >+ [% limits.delete( 'bio' ) | html %] >+ [% limits.delete( 'mus' ) | html %] > </select> > > [% SET lformat = 'l-format' %] >@@ -251,6 +251,6 @@ > [% ELSE %] > <option value="ctype:z" >Treaties </option> > [% END %] >- [% limits.delete( 'ctype' ) %] >+ [% limits.delete( 'ctype' ) | html %] > </select> > [%- END -%] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >index d1a294c6b9..8102d00cb5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -186,7 +186,7 @@ > <td> > [% SET limit_key = 'mc-' _ itemtypeloo.ccl _ "_" _ itemtypeloo.code %] > [% IF limits.$limit_key.defined %] >- [% limits.delete( limit_key ) %] >+ [% limits.delete( limit_key ) | html %] > <input type="checkbox" checked="checked" id="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]" name="limit" value="mc-[% itemtypeloo.ccl | html %]:[% itemtypeloo.code | html %]"/> > [% ELSE %] > <input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') | html %]-[% itemtypeloo.number | html %]" name="limit" value="mc-[% itemtypeloo.ccl | html %]:[% itemtypeloo.code | html %]"/> >@@ -224,7 +224,7 @@ > [% SET year_limit_key = 'yr,st-numeric' %] > <input type="text" size="15" name="limit-yr" id="limit-yr" value="[% limits.$year_limit_key.0 | html %]"/> (format: yyyy-yyyy)</p> > [% IF limits.$year_limit_key.defined %] >- [% limits.delete(year_limit_key) %] >+ [% limits.delete(year_limit_key) | html %] > [% END %] > <!-- /PUB / COPY YEAR LIMIT --> > </fieldset> >@@ -233,7 +233,7 @@ > <p> > <label for="language-limit">Language: </label> > [% PROCESS language_limit_select ln_loop=search_languages_loop ln_id='language-limit' ln_index='ln' selected = limits.${'ln,rtrn'}.0 %] >- [% limits.delete( 'ln,rtrn' ) %] >+ [% limits.delete( 'ln,rtrn' ) | html %] > <label for="language-original-limit">Language of original: </label> > [% PROCESS language_limit_select ln_loop=search_languages_loop ln_id='language-original-limit' ln_index='language-original' selected = limits.${'language-original,rtrn'}.0 %] > [% limits.delete( 'language-original,rtrn' ) %] >@@ -261,7 +261,7 @@ > <input type="checkbox" class="toggle_limit" name="subtype_limit_[% loop.index() | html %]" checked="checked"> > </span> > [% END %] >- [% limits.delete( subtype ) %] >+ [% limits.delete( subtype ) | html %] > [% END %] > </fieldset> > >@@ -284,7 +284,7 @@ > <option value="">All libraries</option> > [%# FIXME Should not we filter the libraries displayed? %] > [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( unfiltered => 1, do_not_select_my_library => 1, selected => limits.branch.0 ) %] >- [% limits.delete('branch') %] >+ [% limits.delete('branch') | html %] > </select></p> > [% IF search_groups %] > <p>OR</p> >@@ -302,7 +302,7 @@ > [% END %] > [% END %] > [% END %] >- [% limits.delete('multibranchlimit') %] >+ [% limits.delete('multibranchlimit') | html %] > </select> > </p> > [% 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 22605
:
114728
|
114734
|
114736
|
117174
|
119177
|
123816
|
123839
|
123840
|
123965
|
126746
|
126747
|
126748
|
126838
|
126851
|
126852
|
126853
|
126854
|
126855
|
126856
|
126857
|
126858
|
126859
|
126860
|
126862
|
126863
|
126864
|
131775
|
131776
|
131777
|
131778
|
131779