Bug 17310: Broken URLs in 'Item renewed' / 'Cannot renew' messages
authorAndreas Roussos <arouss1980@gmail.com>
Sat, 17 Sep 2016 10:44:47 +0000 (13:44 +0300)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 10:50:22 +0000 (12:50 +0200)
commit2f70fde91a53b5a8e05c99fa51c77ba263e9d38c
tree893579b75522b530efa14f1dc049600c58e98a02
parentfc0d4ca25d967ce443b4aa13039d4154b47125ef
Bug 17310: Broken URLs in 'Item renewed' / 'Cannot renew' messages

In the Staff client, under Circulation > Renew, the message shown after
successful renewal of an item contains broken URLs. This is also true for
the message shown when you try to renew an item that is not checked out.

This patch fixes that.

Test plan:
1) Go to Circulation > Renew, and search for the barcode of a checked-out
   item. In the 'Item renewed:' confirmation message, notice how the URLs
   for the title and the barcode are broken.
2) Now search for the barcode of an item that is not checked out. In the
   'Cannot renew:' message, notice how the URLs are broken here too.
3) Apply the patch.
4) Repeat steps 1) and 2). This time the URLs work fine.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 884e28fab5e4db86dd9f50f2908519a0cd6650d5)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt