https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36272

--- Comment #1 from Magnus Enger <[email protected]> ---
Relevant code in
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt:

            $("body").on("click", "#barcodesExportLink", function(e){
                e.preventDefault();
                exportItems('barcodes');
            });

        function exportItems(format) {
            let item_search_selections = JSON.parse(
localStorage.getItem("item_search_selections") ) || [];
            if (item_search_selections.length > 0) {
            var href = '/cgi-bin/koha/catalogue/item-export.pl?format=' +
format;
                href += '&itemnumber=' + Array.from( item_search_selections
).join('&itemnumber=');
                location = href;
            } else {
                $('#format-' + format).prop('checked', true);
                $('#itemsearchform').submit();
                $('#format-html').prop('checked', true);
            }
        }

Export to CSV has the same problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to