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

(-)a/admin/systempreferences.pl (-1 / +1 lines)
Lines 348-354 $tabsysprefs{OPACViewOthersSuggestions} = "OPAC"; Link Here
348
$tabsysprefs{URLLinkText}                = "OPAC";
348
$tabsysprefs{URLLinkText}                = "OPAC";
349
$tabsysprefs{OPACSearchForTitleIn}       = "OPAC";
349
$tabsysprefs{OPACSearchForTitleIn}       = "OPAC";
350
$tabsysprefs{OPACShelfBrowser}           = "OPAC";
350
$tabsysprefs{OPACShelfBrowser}           = "OPAC";
351
$tabsysprefs{OPACDisplayRequestPriority} = "OPAC";
351
$tabsysprefs{OPACShowHoldQueueDetails}   = "OPAC";
352
$tabsysprefs{OPACAllowHoldDateInFuture}  = "OPAC";
352
$tabsysprefs{OPACAllowHoldDateInFuture}  = "OPAC";
353
$tabsysprefs{OPACPatronDetails}  = "OPAC";
353
$tabsysprefs{OPACPatronDetails}  = "OPAC";
354
$tabsysprefs{OPACFinesTab}  = "OPAC";
354
$tabsysprefs{OPACFinesTab}  = "OPAC";
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 233-239 INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES Link Here
233
INSERT INTO `systempreferences` (variable,value,options,explanation,type)  VALUES ('CurrencyFormat','US','US|FR','Determines the display format of currencies. eg: \'36000\' is displayed as \'360 000,00\'  in \'FR\' or \'360,000.00\'  in \'US\'.','Choice');
233
INSERT INTO `systempreferences` (variable,value,options,explanation,type)  VALUES ('CurrencyFormat','US','US|FR','Determines the display format of currencies. eg: \'36000\' is displayed as \'360 000,00\'  in \'FR\' or \'360,000.00\'  in \'US\'.','Choice');
234
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AcqCreateItem','ordering','ordering|receiving|cataloguing','Define when the item is created : when ordering, when receiving, or in cataloguing module','Choice');
234
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('AcqCreateItem','ordering','ordering|receiving|cataloguing','Define when the item is created : when ordering, when receiving, or in cataloguing module','Choice');
235
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowRenewalLimitOverride', '0', 'if ON, allows renewal limits to be overridden on the circulation screen',NULL,'YesNo');
235
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowRenewalLimitOverride', '0', 'if ON, allows renewal limits to be overridden on the circulation screen',NULL,'YesNo');
236
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('OPACDisplayRequestPriority','0','','Show patrons the priority level on holds in the OPAC','YesNo');
236
INSERT INTO `systempreferences` (variable,value,options,explanation,type) VALUES ('OPACShowHoldQueueDetails','none','none|holds|holds_priority','Show holds details in OPAC','Choice');
237
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'UseBranchTransferLimits', '0', '', 'If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.', 'YesNo');
237
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'UseBranchTransferLimits', '0', '', 'If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.', 'YesNo');
238
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowHoldPolicyOverride', '0', 'Allow staff to override hold policies when placing holds',NULL,'YesNo');
238
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowHoldPolicyOverride', '0', 'Allow staff to override hold policies when placing holds',NULL,'YesNo');
239
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'BranchTransferLimitsType', 'ccode', 'itemtype|ccode', 'When using branch transfer limits, choose whether to limit by itemtype or collection code.', 'Choice');
239
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'BranchTransferLimitsType', 'ccode', 'itemtype|ccode', 'When using branch transfer limits, choose whether to limit by itemtype or collection code.', 'Choice');
(-)a/installer/data/mysql/updatedatabase.pl (+15 lines)
Lines 5109-5114 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
5109
    SetVersion ($DBversion);
5109
    SetVersion ($DBversion);
5110
}
5110
}
5111
5111
5112
5113
5114
$DBversion = "3.07.00.XXX";
5115
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
5116
    $dbh->do("UPDATE systempreferences SET
5117
                variable = 'OPACShowHoldQueueDetails',
5118
                value = CASE value WHEN '1' THEN 'holds_priority' ELSE 'none' END,
5119
                options = 'none|holds|holds_priority',
5120
                explanation = 'Show holds details in OPAC',
5121
                type = 'Choice'
5122
              WHERE variable = 'OPACDisplayRequestPriority'");
5123
    print "Upgrade to $DBversion done (Changed system preference OPACDisplayRequestPriority -> OPACShowHoldQueueDetails)\n";
5124
    SetVersion($DBversion);
5125
}
5126
5112
=head1 FUNCTIONS
5127
=head1 FUNCTIONS
5113
5128
5114
=head2 DropAllForeignKeys($table)
5129
=head2 DropAllForeignKeys($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-4 / +5 lines)
Lines 73-83 OPAC: Link Here
73
                  no: "Don't include"
73
                  no: "Don't include"
74
            - "COinS / OpenURL / Z39.88 in OPAC search results.  <br/>Warning: Enabling this feature will slow OPAC search response times."
74
            - "COinS / OpenURL / Z39.88 in OPAC search results.  <br/>Warning: Enabling this feature will slow OPAC search response times."
75
        -
75
        -
76
            - pref: OPACDisplayRequestPriority
76
            - pref: OPACShowHoldQueueDetails
77
              choices:
77
              choices:
78
                  yes: Show
78
                  none: "Don't show any hold details"
79
                  no: "Don't show"
79
                  holds: "Show holds"
80
            - patrons the priority level of their holds in the OPAC.
80
                  holds_priority: "Show holds and their priority level"
81
            - to patrons in the OPAC.
81
        -
82
        -
82
            - pref: OPACShowCheckoutName
83
            - pref: OPACShowCheckoutName
83
              default: 0
84
              default: 0
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (+17 lines)
Lines 629-634 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
629
            <th id="item_status">Status</th>
629
            <th id="item_status">Status</th>
630
            [% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %]
630
            [% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %]
631
            <th id="item_datedue">Date Due</th>
631
            <th id="item_datedue">Date Due</th>
632
        [% IF holds_count.defined %]
633
            <th>Holds</th>
634
        [% END %]
632
        </tr></thead>
635
        </tr></thead>
633
	    <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
636
	    <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
634
	    <tr>[% IF ( item_level_itypes ) %]<td>[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %]
637
	    <tr>[% IF ( item_level_itypes ) %]<td>[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %]
Lines 653-662 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
653
		<td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
656
		<td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
654
		[% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes %]</td>[% END %]
657
		[% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes %]</td>[% END %]
655
		<td>[% ITEM_RESULT.datedue | $KohaDates %]</td>
658
		<td>[% ITEM_RESULT.datedue | $KohaDates %]</td>
659
        [% IF holds_count.defined %]
660
		<td>[% ITEM_RESULT.holds_count %]
661
            [% IF ITEM_RESULT.priority %]
662
                    (priority [% ITEM_RESULT.priority %])
663
            [% END %]
664
                </td>
665
        [% END %]
656
	    </tr>
666
	    </tr>
657
	    [% END %]</tbody>
667
	    [% END %]</tbody>
658
	</table>
668
	</table>
659
    [% END %]
669
    [% END %]
670
    [% IF holds_count.defined %]
671
	<div id="bib_holds">Holds: [% holds_count %]
672
        [% IF priority %]
673
            (priority [% priority %])
674
        [% END %]
675
        </div>
676
    [% END %]
660
[% ELSE %]
677
[% ELSE %]
661
    [% IF ( ALTERNATEHOLDINGS ) %]
678
    [% IF ( ALTERNATEHOLDINGS ) %]
662
    [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
679
    [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-25 / +27 lines)
Lines 242-249 Link Here
242
                  [% UNLESS ( item_level_itypes ) %]
242
                  [% UNLESS ( item_level_itypes ) %]
243
                    <th>Item Type</th>
243
                    <th>Item Type</th>
244
                  [% END %]
244
                  [% END %]
245
                  [% IF ( showpriority ) %]
245
                  [% IF ( showholds ) %]
246
                  <th>Priority</th>
246
                  <th>Holds
247
                      [% IF ( showpriority ) %]
248
                      and priority
249
                      [% END %]
250
                  </th>
247
                  [% END %]
251
                  [% END %]
248
		  [% IF ( reserve_in_future ) %]
252
		  [% IF ( reserve_in_future ) %]
249
		  <th>Hold Starts on Date</th>
253
		  <th>Hold Starts on Date</th>
Lines 297-315 Link Here
297
                        [% END %]
301
                        [% END %]
298
302
299
                    </td>
303
                    </td>
300
                    [% IF ( bibitemloo.holdable ) %][% UNLESS ( item_level_itypes ) %]
301
                                          <td>
302
                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
303
                                [% bibitemloo.description %]
304
                                          </td>
305
                                        [% END %][% END %]
306
                    [% IF ( bibitemloo.holdable ) %]
304
                    [% IF ( bibitemloo.holdable ) %]
307
                    [% IF ( showpriority ) %]
305
		    <!-- HOLDABLE -->
308
                    <td>
306
                        [% UNLESS ( item_level_itypes ) %]
309
                    [% bibitemloo.rank %] out of [% bibitemloo.reservecount %]
307
                        <td>
310
                    </td>[% END %][% END %]
308
                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
311
		    [% IF ( reserve_in_future ) %]
309
                            [% bibitemloo.description %]
312
		    [% IF ( bibitemloo.holdable ) %]<td>
310
                        </td>
311
                        [% END %]
312
                        [% IF showholds %]
313
                        <td>
314
                        [% IF ( showpriority ) %] [% bibitemloo.rank %] out of [% END %][% bibitemloo.reservecount %]
315
                        </td>
316
                        [% END %]
317
		        [% IF ( reserve_in_future ) %]
318
                        <td>
313
              <input name="reserve_date_[% bibitemloo.biblionumber %]" id="reserve_date_[% bibitemloo.biblionumber %]" size="10">
319
              <input name="reserve_date_[% bibitemloo.biblionumber %]" id="reserve_date_[% bibitemloo.biblionumber %]" size="10">
314
              <script language="JavaScript" type="text/javascript">
320
              <script language="JavaScript" type="text/javascript">
315
              //<![CDATA[
321
              //<![CDATA[
Lines 348-357 Link Here
348
              </script>
354
              </script>
349
      <p style="margin:.3em 2em;">
355
      <p style="margin:.3em 2em;">
350
      <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('reserve_date_[% bibitemloo.biblionumber %]').value='';return false;">Clear Date</a></p>
356
      <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('reserve_date_[% bibitemloo.biblionumber %]').value='';return false;">Clear Date</a></p>
351
                </td>[% END %]
357
                        </td>
352
358
                        [% END %]
353
		    [% END %]
359
	                <td>
354
	[% IF ( bibitemloo.holdable ) %]<td>
355
        <input name="expiration_date_[% bibitemloo.biblionumber %]" id="expiration_date_[% bibitemloo.biblionumber %]" size="10" readonly="readonly" />
360
        <input name="expiration_date_[% bibitemloo.biblionumber %]" id="expiration_date_[% bibitemloo.biblionumber %]" size="10" readonly="readonly" />
356
        <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarExpirationDate_[% bibitemloo.biblionumber %]" style="cursor: pointer;" />
361
        <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarExpirationDate_[% bibitemloo.biblionumber %]" style="cursor: pointer;" />
357
        <script language="JavaScript" type="text/javascript">
362
        <script language="JavaScript" type="text/javascript">
Lines 381-393 Link Here
381
        </script>
386
        </script>
382
      <p style="margin:.3em 2em;">
387
      <p style="margin:.3em 2em;">
383
      <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('expiration_date_[% bibitemloo.biblionumber %]').value='';return false;">Clear Date</a></p>
388
      <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('expiration_date_[% bibitemloo.biblionumber %]').value='';return false;">Clear Date</a></p>
384
    </td>[% END %]
389
                        </td>
385
390
		        [% IF ( OPACItemHolds ) %]
386
                    [% IF ( bibitemloo.holdable ) %]
391
		        <!-- ITEM HOLDS -->
387
		    <!-- HOLD ABLE -->
392
                        <td class="place_on_type" style="display:none">
388
		    [% IF ( OPACItemHolds ) %]
389
		    <!-- ITEM HOLDS -->
390
                                          <td class="place_on_type" style="display:none">
391
                                            <ul>
393
                                            <ul>
392
                                                <li>
394
                                                <li>
393
                                                  [% UNLESS ( bibitemloo.holdable ) %]
395
                                                  [% UNLESS ( bibitemloo.holdable ) %]
(-)a/opac/opac-detail.pl (+21 lines)
Lines 479-488 if ($dat->{'count'} >= 50 && !$viewallitems) { Link Here
479
479
480
my $biblio_authorised_value_images = C4::Items::get_authorised_value_images( C4::Biblio::get_biblio_authorised_values( $biblionumber, $record ) );
480
my $biblio_authorised_value_images = C4::Items::get_authorised_value_images( C4::Biblio::get_biblio_authorised_values( $biblionumber, $record ) );
481
481
482
my (%item_reserves, %priority);
483
my ($show_holds_count, $show_priority);
484
for ( C4::Context->preference("OPACShowHoldQueueDetails") ) {
485
    m/holds/o and $show_holds_count = 1;
486
    m/priority/ and $show_priority = 1;
487
}
488
if ( $show_holds_count ) {
489
    my ($reserve_count,$reserves) = GetReservesFromBiblionumber($biblionumber);
490
    $template->param( holds_count  => $reserve_count );
491
    foreach (@$reserves) {
492
        $item_reserves{ $_->{itemnumber} }++ if $_->{itemnumber};
493
        if ($show_priority && $_->{borrowernumber} == $borrowernumber) {
494
            $_->{itemnumber} 
495
                ? ($priority{ $_->{itemnumber} } = $_->{priority})
496
                : ($template->param( priority => $_->{priority} ));
497
        }
498
    }
499
}
500
482
my $norequests = 1;
501
my $norequests = 1;
483
my $branches = GetBranches();
502
my $branches = GetBranches();
484
my %itemfields;
503
my %itemfields;
485
for my $itm (@items) {
504
for my $itm (@items) {
505
    $itm->{holds_count} = $item_reserves{ $itm->{itemnumber} };
506
    $itm->{priority} = $priority{ $itm->{itemnumber} };
486
    $norequests = 0
507
    $norequests = 0
487
       if ( (not $itm->{'wthdrawn'} )
508
       if ( (not $itm->{'wthdrawn'} )
488
         && (not $itm->{'itemlost'} )
509
         && (not $itm->{'itemlost'} )
(-)a/opac/opac-reserve.pl (-27 / +33 lines)
Lines 47-53 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
47
        debug           => 1,
47
        debug           => 1,
48
    }
48
    }
49
);
49
);
50
my $OPACDisplayRequestPriority = (C4::Context->preference("OPACDisplayRequestPriority")) ? 1 : 0;
50
51
my ($show_holds_count, $show_priority);
52
for ( C4::Context->preference("OPACShowHoldQueueDetails") ) {
53
    m/holds/o and $show_holds_count = 1;
54
    m/priority/ and $show_priority = 1;
55
}
56
51
sub get_out ($$$) {
57
sub get_out ($$$) {
52
	output_html_with_http_headers(shift,shift,shift); # $query, $cookie, $template->output;
58
	output_html_with_http_headers(shift,shift,shift); # $query, $cookie, $template->output;
53
	exit;
59
	exit;
Lines 113-124 $template->param( choose_branch => $OPACChooseBranch); Link Here
113
#
119
#
114
#
120
#
115
121
116
# Hash of biblionumber to biblio/biblioitems record.
122
my %biblioDataHash; # Hash of biblionumber to biblio/biblioitems record.
117
my %biblioDataHash;
123
my %itemInfoHash; # Hash of itemnumber to item info.
118
119
# Hash of itemnumber to item info.
120
my %itemInfoHash;
121
122
foreach my $biblioNumber (@biblionumbers) {
124
foreach my $biblioNumber (@biblionumbers) {
123
125
124
    my $biblioData = GetBiblioData($biblioNumber);
126
    my $biblioData = GetBiblioData($biblioNumber);
Lines 128-160 foreach my $biblioNumber (@biblionumbers) { Link Here
128
130
129
    my $marcrecord= GetMarcBiblio($biblioNumber);
131
    my $marcrecord= GetMarcBiblio($biblioNumber);
130
132
131
	# flag indicating existence of at least one item linked via a host record
133
    # flag indicating existence of at least one item linked via a host record
132
	my $hostitemsflag;
134
    my $hostitemsflag;
133
	# adding items linked via host biblios
135
    # adding items linked via host biblios
134
	my @hostitemInfos = GetHostItemsInfo($marcrecord);
136
    my @hostitemInfos = GetHostItemsInfo($marcrecord);
135
	if (@hostitemInfos){
137
    if (@hostitemInfos){
136
		$hostitemsflag =1;
138
        $hostitemsflag =1;
137
	        push (@itemInfos,@hostitemInfos);
139
        push (@itemInfos,@hostitemInfos);
138
	}
140
    }
139
140
141
141
142
    $biblioData->{itemInfos} = \@itemInfos;
142
    $biblioData->{itemInfos} = \@itemInfos;
143
    foreach my $itemInfo (@itemInfos) {
143
    foreach my $itemInfo (@itemInfos) {
144
        $itemInfoHash{$itemInfo->{itemnumber}} = $itemInfo;
144
        $itemInfoHash{$itemInfo->{itemnumber}} = $itemInfo;
145
    }
145
    }
146
146
147
    # Compute the priority rank.
147
    if ($show_holds_count) {
148
    my ( $rank, $reserves ) = GetReservesFromBiblionumber($biblioNumber,1);
148
        # Compute the priority rank.
149
    $biblioData->{reservecount} = $rank;
149
        my ( $rank, $reserves ) = GetReservesFromBiblionumber($biblioNumber,1);
150
    foreach my $res (@$reserves) {
150
        $biblioData->{reservecount} = 1; # new reserve
151
        my $found = $res->{'found'};
151
        foreach my $res (@$reserves) {
152
        if ( $found && ($found eq 'W') ) {
152
            my $found = $res->{'found'};
153
            $rank--;
153
            if ( $found && ($found eq 'W') ) {
154
                $rank--;
155
            }
156
            else {
157
                $biblioData->{reservecount}++;
158
            }
154
        }
159
        }
160
        $rank++;
161
        $biblioData->{rank} = $rank;
155
    }
162
    }
156
    $rank++;
157
    $biblioData->{rank} = $rank;
158
}
163
}
159
164
160
#
165
#
Lines 528-534 $template->param(itemtable_colspan => $itemTableColspan); Link Here
528
533
529
# display infos
534
# display infos
530
$template->param(bibitemloop => $biblioLoop);
535
$template->param(bibitemloop => $biblioLoop);
531
$template->param( showpriority=>1 ) if $OPACDisplayRequestPriority;
536
$template->param( showholds=>$show_holds_count);
537
$template->param( showpriority=>$show_priority);
532
# can set reserve date in future
538
# can set reserve date in future
533
if (
539
if (
534
    C4::Context->preference( 'AllowHoldDateInFuture' ) &&
540
    C4::Context->preference( 'AllowHoldDateInFuture' ) &&
(-)a/opac/opac-user.pl (-5 / +7 lines)
Lines 65-71 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
65
    }
65
    }
66
);
66
);
67
67
68
my $OPACDisplayRequestPriority = (C4::Context->preference("OPACDisplayRequestPriority")) ? 1 : 0;
68
my $show_priority;
69
for ( C4::Context->preference("OPACShowHoldQueueDetails") ) {
70
    m/priority/ and $show_priority = 1;
71
}
69
my $patronupdate = $query->param('patronupdate');
72
my $patronupdate = $query->param('patronupdate');
70
my $canrenew = 1;
73
my $canrenew = 1;
71
74
Lines 260-267 foreach my $res (@reserves) { Link Here
260
    $res->{'branch'} = $branches->{ $res->{'branchcode'} }->{'branchname'};
263
    $res->{'branch'} = $branches->{ $res->{'branchcode'} }->{'branchname'};
261
    my $biblioData = GetBiblioData($res->{'biblionumber'});
264
    my $biblioData = GetBiblioData($res->{'biblionumber'});
262
    $res->{'reserves_title'} = $biblioData->{'title'};
265
    $res->{'reserves_title'} = $biblioData->{'title'};
263
    if ($OPACDisplayRequestPriority) {
266
    if ($show_priority) {
264
        $res->{'priority'} = '' if $res->{'priority'} eq '0';
267
        $res->{'priority'} ||= '';
265
    }
268
    }
266
    $res->{'suspend_until'} = C4::Dates->new( $res->{'suspend_until'}, "iso")->output("syspref") if ( $res->{'suspend_until'} );
269
    $res->{'suspend_until'} = C4::Dates->new( $res->{'suspend_until'}, "iso")->output("syspref") if ( $res->{'suspend_until'} );
267
}
270
}
Lines 271-277 foreach my $res (@reserves) { Link Here
271
274
272
$template->param( RESERVES       => \@reserves );
275
$template->param( RESERVES       => \@reserves );
273
$template->param( reserves_count => $#reserves+1 );
276
$template->param( reserves_count => $#reserves+1 );
274
$template->param( showpriority=>1 ) if $OPACDisplayRequestPriority;
277
$template->param( showpriority=>$show_priority );
275
278
276
my @waiting;
279
my @waiting;
277
my $wcount = 0;
280
my $wcount = 0;
278
- 

Return to bug 7398