]> git.koha-community.org Git - koha.git/commit
Bug 13913 - Renewal error message in OPAC is confusing
authorOwen Leonard <oleonard@myacpl.org>
Sat, 29 Apr 2017 17:14:10 +0000 (17:14 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 9 Jun 2017 13:34:22 +0000 (15:34 +0200)
commit14e8f5bb713bd4f45a85f028e0c9b5738f3eefd5
tree883da6c74f0e6d055d209b3d41705e1da52c7ad2
parent428467a0228429ba78020e9097ede7c43ad6d04e
Bug 13913 - Renewal error message in OPAC is confusing

This patch adds some formatting to the error message a patron receives
when there are renewal failures in the OPAC.

This is pretty much the least which could be done to address this
problem. However, I don't think the issue can be fixed without
re-thinking how renewals are processed. Sending error messages back to
opac-user.pl via URL parameter isn't flexible enough.

To test, apply the patch and attempt to renew multiple items in the OPAC
which cannot be renewed for some reason, for instance because they have
been renewed too many times. The error messages should appear in a list
rather than strung together in one long block of text.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 281e1253777d2bd635610075fe610bedb2d47360)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt