[Koha-bugs] [Bug 10081] IndependentBranches error message missing the library name

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 14 16:15:58 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10081

Galen Charlton <gmcharlt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20321|0                           |1
        is obsolete|                            |

--- Comment #3 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 20331
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20331&action=edit
Bug 10081: add library name to IndependentBranches error message

With IndependentBranches turned on, if you try to check out an item
which belongs to another library you will get an error message which is
missing the library name. This patch corrects the problem by passing the
necessary variable to the template and outputting the library name using
the KohaBranchName TT plugin.

To test, turn on IndependentBranches and try to check out an item
belonging to another library (note that you must test with a staff user
who is not a superlibrarian). The error message you see should include
the name of the library to which the item belongs:

"This item belongs to Nelsonville and cannot be checked out from this
location."

Checkouts of items belonging to the library should be unaffected.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list