Bugzilla – Attachment 67985 Details for
Bug 18884
Advanced search on staff client, Availability limit not properly limiting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18884 - Advanced search on staff client, Availability limit not properly limiting
Bug-18884---Advanced-search-on-staff-client-Availa.patch (text/plain), 2.42 KB, created by
Dilan Johnpullé
on 2017-10-12 00:17:32 UTC
(
hide
)
Description:
Bug 18884 - Advanced search on staff client, Availability limit not properly limiting
Filename:
MIME Type:
Creator:
Dilan Johnpullé
Created:
2017-10-12 00:17:32 UTC
Size:
2.42 KB
patch
obsolete
>From 7df47e921ee6ac2787afffa550d8de224d58bce5 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 10 Oct 2017 12:05:16 +1100 >Subject: [PATCH] Bug 18884 - Advanced search on staff client, Availability > limit not properly limiting >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Patch applies and functions as described. > >Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 4 ++-- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >index 089680f..0102720 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >@@ -1,9 +1,9 @@ > [% BLOCK options_for_libraries %] > [% FOREACH l IN libraries %] > [% IF l.selected %] >- <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname %]</option> >+ <option value="[% prefix %][% l.branchcode | html %]" selected="selected">[% l.branchname %]</option> > [% ELSE %] >- <option value="[% l.branchcode | html %]">[% l.branchname |html %]</option> >+ <option value="[% prefix %][% l.branchcode | html %]">[% l.branchname |html %]</option> > [% END%] > [% END %] > [% 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 8425f59..b9f00d0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt >@@ -239,7 +239,7 @@ > <p><label for="branchloop">Individual libraries:</label><select name="limit" id="branchloop"> > <option value="">All libraries</option> > [%# FIXME Should not we filter the libraries displayed? %] >- [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %] >+ [% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %] > </select></p> > <!-- <input type="hidden" name="limit" value="branch: MAIN" /> --> > [% IF ( searchdomainloop ) %] >-- >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 18884
:
64741
|
67858
|
67985
|
68683