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

(-)a/admin/columns_settings.yml (-1 / +5 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
            -
Lines 2545-2548 modules: Link Here
2545
            -
2549
            -
2546
              columnname: actions
2550
              columnname: actions
2547
              cannot_be_toggled: 1
2551
              cannot_be_toggled: 1
2548
              cannot_be_modified: 1
2552
              cannot_be_modified: 1
(-)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 396-403 Link Here
396
                    searchable: true,
397
                    searchable: true,
397
                    orderable: true,
398
                    orderable: true,
398
                    render: function (data, type, row, meta) {
399
                    render: function (data, type, row, meta) {
399
                        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));
400
                        return escape_str(row._strings.home_library_id ? row._strings.home_library_id.str : row.home_library_id);
400
                        nodes += '<span class="shelvingloc">'
401
                    }
402
                },
403
                {
404
                    data: "me.location",
405
                    searchable: true,
406
                    orderable: true,
407
                    render: function (data, type, row, meta) {
408
                        let nodes = '<span class="shelvingloc">';
401
                        [%# If permanent location is defined, show description or code and             %]
409
                        [%# If permanent location is defined, show description or code and             %]
402
                        [%# display current location in parentheses. If not, display current location. %]
410
                        [%# display current location in parentheses. If not, display current location. %]
403
                        [%# Note that permanent location is a code, and location may be an authval.    %]
411
                        [%# Note that permanent location is a code, and location may be an authval.    %]
404
- 

Return to bug 15461