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

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tmpl (-1 / +5 lines)
Lines 196-206 $.tablesorter.addParser({ Link Here
196
	<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->">
196
	<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->">
197
	<input type="hidden" name="from" value="opac_user" />
197
	<input type="hidden" name="from" value="opac_user" />
198
        <table id="checkoutst">
198
        <table id="checkoutst">
199
        <caption><!-- TMPL_VAR NAME="issues_count" --> Items Checked Out</caption>
199
        <caption><!-- TMPL_VAR NAME="issues_count" --> Item(s) Checked Out</caption>
200
       <thead><tr>
200
       <thead><tr>
201
		<!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
201
		<!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
202
        <th>Title</th>
202
        <th>Title</th>
203
		<!-- TMPL_UNLESS NAME="item_level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
203
		<!-- TMPL_UNLESS NAME="item_level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
204
        <th>Barcode</th>
204
        <th>Call No.</th>
205
        <th>Call No.</th>
205
        <th>Due</th>
206
        <th>Due</th>
206
        <!-- TMPL_IF name="OpacRenewalAllowed" -->
207
        <!-- TMPL_IF name="OpacRenewalAllowed" -->
Lines 241-246 $.tablesorter.addParser({ Link Here
241
                        <!-- TMPL_VAR NAME="author" -->
242
                        <!-- TMPL_VAR NAME="author" -->
242
                    </span></td>
243
                    </span></td>
243
                <!-- TMPL_UNLESS NAME="item_level_itypes" --><td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" --></td><!-- /TMPL_UNLESS -->
244
                <!-- TMPL_UNLESS NAME="item_level_itypes" --><td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" --></td><!-- /TMPL_UNLESS -->
245
                <td><!-- TMPL_VAR NAME="barcode" --></td>
244
                <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
246
                <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
245
                <!-- TMPL_IF NAME="overdue" -->
247
                <!-- TMPL_IF NAME="overdue" -->
246
                    <td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td>
248
                    <td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td>
Lines 292-297 $.tablesorter.addParser({ Link Here
292
<!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
294
<!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
293
<th>Title</th>
295
<th>Title</th>
294
<!-- TMPL_UNLESS NAME="item_level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
296
<!-- TMPL_UNLESS NAME="item_level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
297
<th>Barcode</th>
295
<th>Call No.</th>
298
<th>Call No.</th>
296
<th>Due</th>
299
<th>Due</th>
297
<!-- TMPL_IF name="OpacRenewalAllowed" -->
300
<!-- TMPL_IF name="OpacRenewalAllowed" -->
Lines 323-328 $.tablesorter.addParser({ Link Here
323
<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a> <span class="item-details"><!-- TMPL_VAR NAME="author" --></span></td>
326
<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a> <span class="item-details"><!-- TMPL_VAR NAME="author" --></span></td>
324
327
325
<!-- TMPL_UNLESS NAME="item_level_itypes" --><td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" --></td><!-- /TMPL_UNLESS -->
328
<!-- TMPL_UNLESS NAME="item_level_itypes" --><td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" --></td><!-- /TMPL_UNLESS -->
329
<td><!-- TMPL_VAR NAME="barcode" --></td>
326
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
330
<td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
327
<td><!-- TMPL_VAR NAME="date_due" --></td>
331
<td><!-- TMPL_VAR NAME="date_due" --></td>
328
                <!-- TMPL_IF name="OpacRenewalAllowed" -->
332
                <!-- TMPL_IF name="OpacRenewalAllowed" -->
(-)a/opac/opac-user.pl (-3 / +2 lines)
Lines 108-114 my @issuedat; Link Here
108
my $itemtypes = GetItemTypes();
108
my $itemtypes = GetItemTypes();
109
my ($issues) = GetPendingIssues($borrowernumber);
109
my ($issues) = GetPendingIssues($borrowernumber);
110
if ($issues){
110
if ($issues){
111
	foreach my $issue ( sort sort { $b->{'date_due'} cmp $a->{'date_due'} } @$issues ) {
111
	foreach my $issue ( sort { $b->{'date_due'} cmp $a->{'date_due'} } @$issues ) {
112
		# check for reserves
112
		# check for reserves
113
		my ( $restype, $res ) = CheckReserves( $issue->{'itemnumber'} );
113
		my ( $restype, $res ) = CheckReserves( $issue->{'itemnumber'} );
114
		if ( $restype ) {
114
		if ( $restype ) {
Lines 228-234 foreach my $res (@reserves) { Link Here
228
            $res->{'wait'}= 1; 
228
            $res->{'wait'}= 1; 
229
            $res->{'holdingbranch'}=$item->{'holdingbranch'};
229
            $res->{'holdingbranch'}=$item->{'holdingbranch'};
230
            $res->{'biblionumber'}=$item->{'biblionumber'};
230
            $res->{'biblionumber'}=$item->{'biblionumber'};
231
            $res->{'barcodenumber'} = $item->{'barcode'};
231
            $res->{'barcode'} = $item->{'barcode'};
232
            $res->{'wbrcode'} = $res->{'branchcode'};
232
            $res->{'wbrcode'} = $res->{'branchcode'};
233
            $res->{'itemnumber'}    = $res->{'itemnumber'};
233
            $res->{'itemnumber'}    = $res->{'itemnumber'};
234
            $res->{'wbrname'} = $branches->{$res->{'branchcode'}}->{'branchname'};
234
            $res->{'wbrname'} = $branches->{$res->{'branchcode'}}->{'branchname'};
235
- 

Return to bug 4157