Bug 8802: On editing a library group category type is not set

The category type was always set to 'searchdomain', because it's the
first of the dropdown list.

Test plan:
1/ Create or edit a library group
2/ Set the category type to "properties"
3/ Edit it again
4/ Confirm "properties" is correctly selected

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2015-04-01 16:23:48 +02:00 committed by Tomas Cohen Arazi
parent 887bb6d510
commit fc6789c206
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ sub editcatform {
my @cats;
my $data;
if ($categorycode) {
my $data = GetBranchCategory($categorycode);
$data = GetBranchCategory($categorycode);
$innertemplate->param(
categorycode => $data->{'categorycode'},
categoryname => $data->{'categoryname'},