Bug 21854: Use template plugin to display category description
authorNick Clemens <nick@bywatersolutions.com>
Fri, 16 Nov 2018 17:23:14 +0000 (17:23 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 19 Dec 2018 09:18:15 +0000 (10:18 +0100)
commit54e1078dec19ced9f77735cafa39863483ad41ca
tree6a740d0966dea3f9be24f189cac243f1b4af6533
parent128b0736855aaa5c106dc8c0f30e92cf9d9f35f6
Bug 21854: Use template plugin to display category description

Rather than getting the description in the script and passing, we should
just use the tmeplate plugin to get the description from the category
code.

To test:
1 - Find a patron, note their category
2 - Visit Tools - Batch patron modification
3 - Enter barcode of patron above
4 - Note category does not show in the display of patrons to be modified
5 - Apply patch
6 - Reload the page, note the patron category displays
7 - Modify the patron (anything but category)
8 - Check that category still diplays correctly in results

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Signed-off-by: Andreas Roussos <arouss1980@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit df68391a5ec2eac05a88373dc10c136c8d057e98)

Signed-off-by: Jesse Maseto <jesse@bywatersolution.com>
(cherry picked from commit 391e7f7188472f3399007c836c0605cfc1277a30)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt
tools/modborrowers.pl