]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Jun 2017 19:34:26 +0000 (16:34 -0300)
commit16307c40343cdb0ed4ff69c9c001fc4d9e1a459f
treee6ab5bd9b4ad12dfcbe86b0a0bebc2e447539207
parenteddf975cf0244c731f987c64af5126090f73f9f2
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>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt