]> git.koha-community.org Git - koha.git/commit
Bug 3202: creating new 'child' categorytype patrons doesn't set branch properly
authorIan Walls <ian.walls@bywatersolutions.com>
Thu, 21 Apr 2011 04:46:34 +0000 (00:46 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Thu, 28 Apr 2011 12:47:05 +0000 (08:47 -0400)
commite561e0e2f631f3042668fae5c23be973d887acf5
treeb1f7a122e529128f6664a802745fa4da33c0a5d4
parent7a7d9a38b72bdb10ad37bd45cda2d9b3a7d87209
Bug 3202: creating new 'child' categorytype patrons doesn't set branch properly

If a guarantor search is not being performed, the creation of any Child category_type patron will
not default to the currently logged in branch, but rather the first branch alphabetically.

Adding a test for the existence of any guarantor branch data before assigning it clears up this problem

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b08be41d41b2c974ed338d7ed3fff31ffcd848bf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
members/memberentry.pl