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

(-)a/admin/columns_settings.yml (+4 lines)
Lines 434-439 modules: Link Here
434
              columnname: holdingbranch
434
              columnname: holdingbranch
435
            -
435
            -
436
              columnname: homebranch
436
              columnname: homebranch
437
            -
438
              columnname: location
437
            -
439
            -
438
              columnname: ccode
440
              columnname: ccode
439
            -
441
            -
Lines 505-510 modules: Link Here
505
              columnname: holdingbranch
507
              columnname: holdingbranch
506
            -
508
            -
507
              columnname: homebranch
509
              columnname: homebranch
510
            -
511
              columnname: location
508
            -
512
            -
509
              columnname: ccode
513
              columnname: ccode
510
            -
514
            -
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-3 / +10 lines)
Lines 16-21 Link Here
16
            [% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="itype">Item type</th>[% END %]
16
            [% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="itype">Item type</th>[% END %]
17
            <th id="[% tab | html %]_holdingbranch" data-colname="holdingbranch">Current library</th>
17
            <th id="[% tab | html %]_holdingbranch" data-colname="holdingbranch">Current library</th>
18
            <th id="[% tab | html %]_homebranch" data-colname="homebranch">Home library</th>
18
            <th id="[% tab | html %]_homebranch" data-colname="homebranch">Home library</th>
19
            <th id="[% tab | html %]_loction" data-colname="location">Shelving location</th>
19
            <th id="[% tab | html %]_ccode" data-colname="ccode">Collection</th>
20
            <th id="[% tab | html %]_ccode" data-colname="ccode">Collection</th>
20
            [% IF Koha.Preference('EnableItemGroups') %]
21
            [% IF Koha.Preference('EnableItemGroups') %]
21
                <th id="[% tab | html %]_item_group" data-colname="item_group">Item group</th>
22
                <th id="[% tab | html %]_item_group" data-colname="item_group">Item group</th>
Lines 394-401 Link Here
394
                searchable: true,
395
                searchable: true,
395
                orderable: true,
396
                orderable: true,
396
                render: function (data, type, row, meta) {
397
                render: function (data, type, row, meta) {
397
                    let nodes = '<span class="homebranchdesc">%s</span>'.format(escape_str(row._strings.home_library_id ? row._strings.home_library_id.str : row.home_library_id));
398
                    return escape_str(row._strings.home_library_id ? row._strings.home_library_id.str : row.home_library_id);
398
                    nodes += '<span class="shelvingloc">'
399
                }
400
            },
401
            {
402
                data: "me.location",
403
                searchable: true,
404
                orderable: true,
405
                render: function (data, type, row, meta) {
406
                    let nodes = '<span class="shelvingloc">';
399
                    [%# If permanent location is defined, show description or code and             %]
407
                    [%# If permanent location is defined, show description or code and             %]
400
                    [%# display current location in parentheses. If not, display current location. %]
408
                    [%# display current location in parentheses. If not, display current location. %]
401
                    [%# Note that permanent location is a code, and location may be an authval.    %]
409
                    [%# Note that permanent location is a code, and location may be an authval.    %]
402
- 

Return to bug 15461