]> git.koha-community.org Git - koha.git/commit
Fix for Bug 7024 - Can't delete other library's messages with AllowAllMessageDeletion on
authorOwen Leonard <oleonard@myacpl.org>
Thu, 13 Oct 2011 14:02:38 +0000 (10:02 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 19 Oct 2011 20:05:34 +0000 (16:05 -0400)
commitd4b9ac0b967bc9a01162ddaf58fd581796ad3fda
tree4ac313afc5803d0ea552206e85b2a2d68a876d1b
parentb262ab329e93e297c194b8afd285ca78eb16dfa6
Fix for Bug 7024 - Can't delete other library's messages with AllowAllMessageDeletion on

The display of messages "to the patron" on the checkout screen
lacked the same logic controlling messages "to other librarians,"
affecting conditions under which the [Delete] link would be shown.
This match makes the two categories consistent with each other:
A delete link will be shown if the logged in branch matches the
branch where the message was set OR if AllowAllMessageDeletion
is turned on.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 41928b088075a5da9bffb19edf906e94aa84466f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt