| 
      
            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 | 
           |