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

(-)a/admin/smart-rules.pl (-2 / +2 lines)
Lines 161-166 elsif ($op eq 'delete-branch-cat') { Link Here
161
                branchcode   => $branch,
161
                branchcode   => $branch,
162
                categorycode => undef,
162
                categorycode => undef,
163
                rules        => {
163
                rules        => {
164
                    max_holds                => undef,
164
                    patron_maxissueqty       => undef,
165
                    patron_maxissueqty       => undef,
165
                    patron_maxonsiteissueqty => undef,
166
                    patron_maxonsiteissueqty => undef,
166
                }
167
                }
Lines 169-179 elsif ($op eq 'delete-branch-cat') { Link Here
169
        Koha::CirculationRules->set_rules(
170
        Koha::CirculationRules->set_rules(
170
            {
171
            {
171
                branchcode   => $branch,
172
                branchcode   => $branch,
173
                itemtype     => undef,
172
                rules        => {
174
                rules        => {
173
                    holdallowed             => undef,
175
                    holdallowed             => undef,
174
                    hold_fulfillment_policy => undef,
176
                    hold_fulfillment_policy => undef,
175
                    returnbranch            => undef,
177
                    returnbranch            => undef,
176
                    max_holds               => undef,
177
                }
178
                }
178
            }
179
            }
179
        );
180
        );
180
- 

Return to bug 25601