View | Details | Raw Unified | Return to bug 8137
Collapse All | Expand All

(-)a/Koha/CirculationRules.pm (-2 / +1 lines)
Lines 276-282 sub get_effective_rule { Link Here
276
    $search_params->{categorycode} = defined $categorycode ? [ $categorycode, undef ] : undef;
276
    $search_params->{categorycode} = defined $categorycode ? [ $categorycode, undef ] : undef;
277
    $search_params->{itemtype}     = defined $itemtype     ? [ $itemtype, undef ] : undef;
277
    $search_params->{itemtype}     = defined $itemtype     ? [ $itemtype, undef ] : undef;
278
    $search_params->{branchcode}   = defined $branchcode   ? [ $branchcode,   undef ] : undef;
278
    $search_params->{branchcode}   = defined $branchcode   ? [ $branchcode,   undef ] : undef;
279
    $search_params->{has_priority} = defined $has_priority ? [ $has_priority, undef ] : undef;
279
    $search_params->{has_priority} = defined $has_priority ? $has_priority : 0;
280
280
281
    my $rule = $self->search(
281
    my $rule = $self->search(
282
        $search_params,
282
        $search_params,
283
- 

Return to bug 8137