]> git.koha-community.org Git - koha.git/commit
Bug 18244: Patron card creator does not take in account fields with underscore (B_add...
authorMarc Véron <veron@veron.ch>
Fri, 10 Mar 2017 10:22:24 +0000 (11:22 +0100)
committerMason James <mtj@kohaaloha.com>
Sun, 23 Apr 2017 23:08:15 +0000 (11:08 +1200)
commit74f24ce406cee9af6a36db6e5d948542b0554e58
tree1738b05d03c61c599c17b0adbbec7e19f42caa97
parent5e19242713ee95ca2676981bdba00f45b2be2294
Bug 18244: Patron card creator does not take in account fields with underscore (B_address etc.)

Fields with underscore like B_address do not print on patron cards.

To reproduce:
- Create patron card layout using fields with underscore in their name
  (e.g. <surname><B_address> )
- Print (export) patron card
- Verify that fields without underscore are replaced by their value,
  but fields with underscore do not replace but show the field name

To test:
- Apply patch
- Try to reproduce and verify that fields with underscore are replace
  as expected

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a723de2ae0c393743fc111955ee81b5e6c5b7f4a)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Patroncards/Patroncard.pm