Bugzilla – Attachment 63955 Details for
Bug 13747
Fix problems with frequency descriptions containing quotes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13747: Fix problems with frequency descriptions containing quotes
Bug-13747-Fix-problems-with-frequency-descriptions.patch (text/plain), 1.82 KB, created by
Marc Véron
on 2017-06-04 20:14:33 UTC
(
hide
)
Description:
Bug 13747: Fix problems with frequency descriptions containing quotes
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-06-04 20:14:33 UTC
Size:
1.82 KB
patch
obsolete
>From 77947fc95ae94d23ac005ef4b7ce96fbbd7199ae Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Sun, 4 Jun 2017 22:09:14 +0200 >Subject: [PATCH] Bug 13747: Fix problems with frequency descriptions > containing quotes > >If a serial frequency description contains quotes or is surrounded by >quotes, the description is empty ("TEST" > empty) or shown without the >quotes part (TEST "sth" > TEST) on editing the frequency. > >To verify: >- Create a new frequency with description: "Test" >- Modify frequency >- Verify the description field is empty > >To test: >- Apply patch >- Try to recreate, verify that the description field is > correctly filled when editing >- Test also with a name like: 'A "souble quoted" name' >--- > .../intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >index e277210..62696fb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt >@@ -113,7 +113,7 @@ $(document).ready(function() { > <ol> > <li> > <label class="required" for="description">Description: </label> >- <input type="text" id="description" name="description" value="[% description %]" class="required" required="required" /> <span class="required">Required</span> >+ <input type="text" id="description" name="description" value="[% description | html %]" class="required" required="required" /> <span class="required">Required</span> > </li> > <li> > <label for="unit">Unit: </label> >-- >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 13747
:
63955
|
63986