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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-1 / +7 lines)
Lines 1914-1919 Link Here
1914
            [% END # /IF OpacBrowseResults %]
1914
            [% END # /IF OpacBrowseResults %]
1915
1915
1916
            var holdingst_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %];
1916
            var holdingst_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'holdingst', 'json' ) | $raw %];
1917
            [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %]
1918
                // The default in the yaml file is 1 "Item type".
1919
                // If item-level_itypes is off the column will not appear, then select column 2 "Current library"
1920
                if (holdingst_table_settings.default_sort_order == 1) {
1921
                    holdingst_table_settings.default_sort_order = 2;
1922
                }
1923
            [% END %]
1917
            var otherholdingst_table_settings = JSON.parse(JSON.stringify(holdingst_table_settings)); // Clone
1924
            var otherholdingst_table_settings = JSON.parse(JSON.stringify(holdingst_table_settings)); // Clone
1918
1925
1919
            let column;
1926
            let column;
1920
- 

Return to bug 30633