]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 11 Jun 2017 22:44:02 +0000 (00:44 +0200)
commitf702610405093b394dac2e625a1e9516593573dd
treeb4953a491f43ad5b5aceb888834ad8e4ecbc4189
parent46a1886b6937ac2bf7f909200f47750e571a8170
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>
(cherry picked from commit 14e8f5bb713bd4f45a85f028e0c9b5738f3eefd5)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Changed borrower back to patron as it was before this patch.
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt