]> git.koha-community.org Git - koha.git/commit
Bug 13747: Fix problems with frequency descriptions containing quotes
authorMarc Véron <veron@veron.ch>
Sun, 4 Jun 2017 20:09:14 +0000 (22:09 +0200)
committerMason James <mtj@kohaaloha.com>
Sat, 29 Jul 2017 19:09:58 +0000 (07:09 +1200)
commit367b9f0241609d31b02ba4b3a15d57c0a4cdcc2f
treeb86228548c484ceba943b230d05ccdea786401e7
parenteda5eb7409002be2b899315b518d05aa768ece43
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'

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 16307c40343cdb0ed4ff69c9c001fc4d9e1a459f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 17df2459ddc294eb2499fce6d9f6f32d20e6db67)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt