]> git.koha-community.org Git - koha.git/commit
Bug 13124 - Record titles with parentheses causing label weirdness
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 21 Oct 2014 10:18:29 +0000 (06:18 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 24 Mar 2015 08:17:06 +0000 (09:17 +0100)
commitd6a7e2b42d87a7b1f987a0c9d5d761599e5522e3
tree66e67d265a5a9831592709cc1c8b95fd3245892d
parent80dbe11868b7110c96c592c71da6cf1c118429fb
Bug 13124 - Record titles with parentheses causing label weirdness

Test Plan ( using sample data included with Koha )
1) Catalog a record and item with the title "Oh no! or, (How my
   science project destroyed the world) /"
2) Edit the DEFAULT template
   a) Set layout type to Biblio
   b) Set data fields to "title, author, isbn, issn, itemtype,
      barcode, itemcallnumber"
   c) Set font size to 10
3) Create a batch with just the one item you created
4) Export the PDF with the Avery template and the DEFAULT layout
5) Note the weirdness
6) Apply this patch
7) Re-export the PDF, note it's no longer weird ; )

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Mason James <mtj@kohaaloha.com>
(cherry picked from commit b26f9140e96d730db2c114aa60d47c4aa3af6481)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Labels/Label.pm