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

(-)a/C4/Items.pm (-1 / +1 lines)
Lines 1389-1395 sub GetItemsLocationInfo { Link Here
1389
        my @results;
1389
        my @results;
1390
1390
1391
	my $dbh = C4::Context->dbh;
1391
	my $dbh = C4::Context->dbh;
1392
	my $query = "SELECT a.branchname as homebranch, b.branchname as holdingbranch, 
1392
	my $query = "SELECT items.*,a.branchname as homebranch, b.branchname as holdingbranch, 
1393
			    location, itemcallnumber, cn_sort
1393
			    location, itemcallnumber, cn_sort
1394
		     FROM items, branches as a, branches as b
1394
		     FROM items, branches as a, branches as b
1395
		     WHERE homebranch = a.branchcode AND holdingbranch = b.branchcode 
1395
		     WHERE homebranch = a.branchcode AND holdingbranch = b.branchcode 
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt (-3 / +4 lines)
Lines 308-320 function enableCheckboxActions(){ Link Here
308
        </tr>[% END %]
308
        </tr>[% END %]
309
309
310
        <tr>
310
        <tr>
311
            <th scope="row">Location(s)</th>
311
            <th scope="row">Location(s)(Status)</th>
312
            <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]<ul>[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
312
            <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]<ul>[% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
313
                            <li>
313
                            <li>
314
                                <strong>[% ITEM_RESULT.homebranch %]</strong>[% IF ( ITEM_RESULT.location_opac ) %], [% ITEM_RESULT.location_opac %][% END %]
314
                                <strong>[% ITEM_RESULT.homebranch %]</strong>[% IF ( ITEM_RESULT.location_opac ) %], [% ITEM_RESULT.location_opac %][% END %]
315
                                [% IF ( ITEM_RESULT.itemcallnumber ) %]
315
                                [% IF ( ITEM_RESULT.itemcallnumber ) %]
316
                                    ([% ITEM_RESULT.itemcallnumber %])
316
                                    ([% ITEM_RESULT.itemcallnumber %])
317
                                [% END %]
317
                                [% END %]
318
                                ([% INCLUDE 'item-status.inc' item = ITEM_RESULT %])
318
                            </li>
319
                            </li>
319
                            [% END %]</ul>[% ELSE %]This record has no items.[% END %]</td>
320
                            [% END %]</ul>[% ELSE %]This record has no items.[% END %]</td>
320
        </tr>
321
        </tr>
Lines 353-359 function enableCheckboxActions(){ Link Here
353
	    <th>Title</th>
354
	    <th>Title</th>
354
	    <th>Author</th>
355
	    <th>Author</th>
355
	    <th>Year</th>
356
	    <th>Year</th>
356
	    <th>Location</th>
357
	    <th>Location(Status)</th>
357
        </tr></thead>
358
        </tr></thead>
358
359
359
        [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
360
        [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
Lines 388-393 function enableCheckboxActions(){ Link Here
388
                        [% IF ( ITEM_RESULT.itemcallnumber ) %]
389
                        [% IF ( ITEM_RESULT.itemcallnumber ) %]
389
                            ([% ITEM_RESULT.itemcallnumber %])
390
                            ([% ITEM_RESULT.itemcallnumber %])
390
                        [% END %]
391
                        [% END %]
392
                        ([% INCLUDE 'item-status.inc' item = ITEM_RESULT %])
391
                    </li>
393
                    </li>
392
                    [% END %]</ul>[% ELSE %]This record has no items.[% END %]</td>
394
                    [% END %]</ul>[% ELSE %]This record has no items.[% END %]</td>
393
            </tr>
395
            </tr>
394
- 

Return to bug 7570