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

(-)a/admin/columns_settings.yml (-1 / +5 lines)
Lines 436-441 modules: Link Here
436
              columnname: holdingbranch
436
              columnname: holdingbranch
437
            -
437
            -
438
              columnname: homebranch
438
              columnname: homebranch
439
            -
440
              columnname: location
439
            -
441
            -
440
              columnname: ccode
442
              columnname: ccode
441
            -
443
            -
Lines 507-512 modules: Link Here
507
              columnname: holdingbranch
509
              columnname: holdingbranch
508
            -
510
            -
509
              columnname: homebranch
511
              columnname: homebranch
512
            -
513
              columnname: location
510
            -
514
            -
511
              columnname: ccode
515
              columnname: ccode
512
            -
516
            -
Lines 2550-2553 modules: Link Here
2550
            -
2554
            -
2551
              columnname: actions
2555
              columnname: actions
2552
              cannot_be_toggled: 1
2556
              cannot_be_toggled: 1
2553
              cannot_be_modified: 1
2557
              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 401-408 Link Here
401
                    searchable: true,
402
                    searchable: true,
402
                    orderable: true,
403
                    orderable: true,
403
                    render: function (data, type, row, meta) {
404
                    render: function (data, type, row, meta) {
404
                        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));
405
                        return escape_str(row._strings.home_library_id ? row._strings.home_library_id.str : row.home_library_id);
405
                        nodes += '<span class="shelvingloc">'
406
                    }
407
                },
408
                {
409
                    data: "me.location",
410
                    searchable: true,
411
                    orderable: true,
412
                    render: function (data, type, row, meta) {
413
                        let nodes = '<span class="shelvingloc">';
406
                        [%# If permanent location is defined, show description or code and             %]
414
                        [%# If permanent location is defined, show description or code and             %]
407
                        [%# display current location in parentheses. If not, display current location. %]
415
                        [%# display current location in parentheses. If not, display current location. %]
408
                        [%# Note that permanent location is a code, and location may be an authval.    %]
416
                        [%# Note that permanent location is a code, and location may be an authval.    %]
409
- 

Return to bug 15461