Bugzilla – Attachment 102178 Details for
Bug 25024
OPAC incorrectly marks branch as invalid pickup location when similarly named branch is blocked
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25024: Do not escape $
Bug-25024-Do-not-escape-.patch (text/plain), 1.92 KB, created by
Jonathan Druart
on 2020-04-01 08:59:06 UTC
(
hide
)
Description:
Bug 25024: Do not escape $
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-04-01 08:59:06 UTC
Size:
1.92 KB
patch
obsolete
>From bec87717fd8eae6afc0252c435a80cfc3b6d5830 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 1 Apr 2020 10:58:28 +0200 >Subject: [PATCH] Bug 25024: Do not escape $ > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 8fad82e3b3..c1c24cd4b6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -245,7 +245,7 @@ > [% SET at_least_one_library_not_available_for_pickup = 0 %] > <select name="branch" id="branch_[% bibitemloo.biblionumber | html %]"> > [% FOREACH library IN Branches.pickup_locations({ search_params => { biblio => bibitemloo.biblionumber, patron => logged_in_user }, selected => branch }) %] >- [% SET pickup_available_at = bibitemloo.not_available_at.grep("^" _ library.branchcode _ "\$").size ? 0 : 1 %] >+ [% SET pickup_available_at = bibitemloo.not_available_at.grep('^' _ library.branchcode _ '$').size ? 0 : 1 %] > [% IF library.selected AND pickup_available_at %] > <option value="[% library.branchcode | html %]" selected="selected" >[% library.branchname | html %]</option> > [% ELSIF pickup_available_at %] >-- >2.20.1
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 25024
:
102139
|
102142
|
102146
|
102177
| 102178