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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl (-3 / +3 lines)
Lines 505-511 function checkMultiHold() { Link Here
505
        <th>Details</th>
505
        <th>Details</th>
506
      </tr>
506
      </tr>
507
  <!-- TMPL_LOOP Name="reserveloop" -->
507
  <!-- TMPL_LOOP Name="reserveloop" -->
508
      <tr>
508
  <!-- TMPL_UNLESS Name="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
509
        <td>
509
        <td>
510
          <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
510
          <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
511
          <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
511
          <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
Lines 539-547 function checkMultiHold() { Link Here
539
          <select name="pickup">
539
          <select name="pickup">
540
      <!-- TMPL_LOOP Name="branchloop" -->
540
      <!-- TMPL_LOOP Name="branchloop" -->
541
        <!-- TMPL_IF Name="selected" -->
541
        <!-- TMPL_IF Name="selected" -->
542
            <option value="<!-- TMPL_VAR NAME="branch" -->" selected="selected">
542
            <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected">
543
        <!-- TMPL_ELSE -->
543
        <!-- TMPL_ELSE -->
544
            <option value="<!-- TMPL_VAR NAME="branch" -->">
544
            <option value="<!-- TMPL_VAR NAME="value" -->">
545
        <!-- /TMPL_IF -->
545
        <!-- /TMPL_IF -->
546
              <!-- TMPL_VAR NAME="branchname" -->
546
              <!-- TMPL_VAR NAME="branchname" -->
547
            </option>
547
            </option>
(-)a/reserve/request.pl (-10 / +1 lines)
Lines 446-459 foreach my $biblionumber (@biblionumbers) { Link Here
446
                 }
446
                 }
447
                );
447
                );
448
        }
448
        }
449
        my @branchloop;
450
        foreach my $br ( sort {$branches->{$a}->{'branchname'} cmp $branches->{$b}->{'branchname'}} keys %$branches ) {
451
            my %abranch;
452
            $abranch{'selected'}   = ( $br eq $res->{'branchcode'} );
453
            $abranch{'branch'}     = $br;
454
            $abranch{'branchname'} = $branches->{$br}->{'branchname'};
455
            push( @branchloop, \%abranch );
456
        }
457
        
449
        
458
        if ( ( $res->{'found'} eq 'W' ) ) {
450
        if ( ( $res->{'found'} eq 'W' ) ) {
459
            my $item = $res->{'itemnumber'};
451
            my $item = $res->{'itemnumber'};
Lines 497-503 foreach my $biblionumber (@biblionumbers) { Link Here
497
        $reserve{'ccode'}           = $res->{'ccode'};
489
        $reserve{'ccode'}           = $res->{'ccode'};
498
        $reserve{'barcode'}         = $res->{'barcode'};
490
        $reserve{'barcode'}         = $res->{'barcode'};
499
        $reserve{'priority'}    = $res->{'priority'};
491
        $reserve{'priority'}    = $res->{'priority'};
500
        $reserve{'branchloop'} = \@branchloop;
492
        $reserve{'branchloop'} = GetBranchesLoop($res->{'branchcode'});
501
        $reserve{'optionloop'} = \@optionloop;
493
        $reserve{'optionloop'} = \@optionloop;
502
        
494
        
503
        push( @reserveloop, \%reserve );
495
        push( @reserveloop, \%reserve );
504
- 

Return to bug 2553