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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 13 Aug 2013 16:31:49 +0000 (13:31 -0300)
commitb4c18e1ad75ab2743d5ff6ccbe63cc76bd811a4d
tree414844a3de8394ced7bde58891624d3f4ab52782
parentafbe6a0f2c9b0d37327a57cf72eabfb7eebe156d
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>
(cherry picked from commit ec3735433aed8d2c1a42b7d0758b4405a3aa6b1c)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Branch.pm
admin/branches.pl
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
opac/opac-search.pl