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

(-)a/Koha/CirculationRules.pm (-3 / +3 lines)
Lines 479-487 sub clone { Link Here
479
  my $returnbranch = Koha::CirculationRules->get_return_branch_policy($item);
479
  my $returnbranch = Koha::CirculationRules->get_return_branch_policy($item);
480
480
481
Returns the branch to use for returning the item based on the
481
Returns the branch to use for returning the item based on the
482
item type, and a branch selected via CircControlReturnsBrnch.
482
item type, and a branch selected via CircControlReturnsBranch.
483
483
484
The return value is the branch to which to return item.  Possible values:
484
The return value is the branch to which to return the item. Possible values:
485
  noreturn: do not return, let item remain where checked in (floating collections)
485
  noreturn: do not return, let item remain where checked in (floating collections)
486
  homebranch: return to item's home branch
486
  homebranch: return to item's home branch
487
  holdingbranch: return to issuer branch
487
  holdingbranch: return to issuer branch
Lines 490-496 This searches branchitemrules in the following order: Link Here
490
  * Same branchcode and itemtype
490
  * Same branchcode and itemtype
491
  * Same branchcode, itemtype '*'
491
  * Same branchcode, itemtype '*'
492
  * branchcode '*', same itemtype
492
  * branchcode '*', same itemtype
493
  * branchcode and itemtype '*'
493
  * branchcode '*' and itemtype '*'
494
494
495
=cut
495
=cut
496
496
(-)a/installer/data/mysql/atomicupdate/bug_25426.pl (-2 / +1 lines)
Lines 8-14 return { Link Here
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
9
10
        $dbh->do(q{
10
        $dbh->do(q{
11
            INSERT INTO systempreferences VALUES (
11
            INSERT IGNORE INTO systempreferences VALUES (
12
              'CircControlReturnsBranch','ItemHomeLibrary','ItemHomeLibrary|ItemHoldingLibrary|CheckInLibrary',
12
              'CircControlReturnsBranch','ItemHomeLibrary','ItemHomeLibrary|ItemHoldingLibrary|CheckInLibrary',
13
              'Specify the agency that controls the return policy','Choice'
13
              'Specify the agency that controls the return policy','Choice'
14
            )
14
            )
15
- 

Return to bug 25426