]> 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)
committerMason James <mtj@kohaaloha.com>
Sat, 29 Jul 2017 19:09:43 +0000 (07:09 +1200)
commita2b77d876098e791b753e3c9a0164605e0941aa5
tree606e27c57a8afb6a62bae53d78edddc763b92743
parent3b2cb8a3c3ae3b83ae596394663c839b0b44ff8a
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