Lines 505-510
subtest 'General vs specific rules limit quantity correctly' => sub {
Link Here
|
505 |
} |
505 |
} |
506 |
); |
506 |
); |
507 |
|
507 |
|
|
|
508 |
# Set default maximum issue quantity limits for branch |
509 |
Koha::CirculationRules->set_rules( |
510 |
{ |
511 |
branchcode => $branch->{branchcode}, |
512 |
categorycode => '*', |
513 |
rules => { |
514 |
patron_maxissueqty => 1, |
515 |
patron_maxonsiteissueqty => 1, |
516 |
} |
517 |
} |
518 |
); |
519 |
|
508 |
# Set an All->All for an itemtype |
520 |
# Set an All->All for an itemtype |
509 |
Koha::CirculationRules->set_rules( |
521 |
Koha::CirculationRules->set_rules( |
510 |
{ |
522 |
{ |
511 |
- |
|
|