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 17-22 Link Here
17
            [% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="itype">Item type</th>[% END %]
17
            [% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="itype">Item type</th>[% END %]
18
            <th id="[% tab | html %]_holdingbranch" data-colname="holdingbranch">Current library</th>
18
            <th id="[% tab | html %]_holdingbranch" data-colname="holdingbranch">Current library</th>
19
            <th id="[% tab | html %]_homebranch" data-colname="homebranch">Home library</th>
19
            <th id="[% tab | html %]_homebranch" data-colname="homebranch">Home library</th>
20
            <th id="[% tab | html %]_loction" data-colname="location">Shelving location</th>
20
            <th id="[% tab | html %]_ccode" data-colname="ccode">Collection</th>
21
            <th id="[% tab | html %]_ccode" data-colname="ccode">Collection</th>
21
            [% IF Koha.Preference('EnableItemGroups') %]
22
            [% IF Koha.Preference('EnableItemGroups') %]
22
                <th id="[% tab | html %]_item_group" data-colname="item_group">Item group</th>
23
                <th id="[% tab | html %]_item_group" data-colname="item_group">Item group</th>
Lines 398-405 Link Here
398
                searchable: true,
399
                searchable: true,
399
                orderable: true,
400
                orderable: true,
400
                render: function (data, type, row, meta) {
401
                render: function (data, type, row, meta) {
401
                    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));
402
                    return escape_str(row._strings.home_library_id ? row._strings.home_library_id.str : row.home_library_id);
402
                    nodes += '<span class="shelvingloc">'
403
                }
404
            },
405
            {
406
                data: "me.location",
407
                searchable: true,
408
                orderable: true,
409
                render: function (data, type, row, meta) {
410
                    let nodes = '<span class="shelvingloc">';
403
                    [%# If permanent location is defined, show description or code and             %]
411
                    [%# If permanent location is defined, show description or code and             %]
404
                    [%# display current location in parentheses. If not, display current location. %]
412
                    [%# display current location in parentheses. If not, display current location. %]
405
                    [%# Note that permanent location is a code, and location may be an authval.    %]
413
                    [%# Note that permanent location is a code, and location may be an authval.    %]
406
- 

Return to bug 15461