]> git.koha-community.org Git - koha.git/commit
Bug 14505: single quotes in journal number cause print routing list window to not...
authorJoonas Kylmälä <j.kylmala@gmail.com>
Thu, 20 Aug 2015 09:24:17 +0000 (09:24 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 25 Sep 2015 14:54:49 +0000 (11:54 -0300)
commitd222e6ec21c5d2aea03d839cd82050ca6437f0d4
tree357e430420971b0c139b359675619b736a8f1c7d
parent5d46dbf3e938fbc80436a263cdc417cd798e0ab4
Bug 14505: single quotes in journal number cause print routing list window to not appear

Escapes single quotes from serial.serialseq string.

Test plan:

1. Have a serial with a number which has single quote in it.
2. Go to Serials -> Find some serial subscription -> Serial collection.
3. Set up a routing list for this serial.
4. Click on Print list under the column Routing.
5. Notice that the print window doesn't open.
6. Apply patch.
7. Notice that the print window opens.

Sponsored-by: Vaara-kirjastot
Followed test plan. Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt