Bug 10515: make behavior of library category fetchers consistent with other fetchers
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 28 Jun 2013 14:07:13 +0000 (16:07 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 17 Jul 2013 17:27:24 +0000 (17:27 +0000)
commitec3735433aed8d2c1a42b7d0758b4405a3aa6b1c
tree2fe5a78ead9b15a23aabfe1198bacce8efde8ec8
parent53f82b1d7d9b7f06da1032faf0800d624eb4c1d3
Bug 10515: make behavior of library category fetchers consistent with other fetchers

The prototype is not consistent, GetBranchCategory should return only 1 result
and GetBranchCategories should not have a categorycode argument.
This patch fixes that.

Test plan:
1/ Try to add/remove/modify a library.
2/ Add some groups
3/ Add these groups to a library

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Branch.pm
admin/branches.pl
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
opac/opac-search.pl