[Bug 39533] New: Use select2 to select item types and libraries in biblio export
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Bug ID: 39533 Summary: Use select2 to select item types and libraries in biblio export Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org We can use Select2 to allow multiple selections of item types and libraries in the bibliographic record export. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 180421 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180421&action=edit Bug 39533: Use select2 to select item types and libraries in biblio export This patch updates the bibliographic export page so that item type and library export use Select2 form fields. This change has the added benefit of enabling the removal of a single-use include, branch-selector.inc. The patch also adds some JavaScript to make sure the "CSV profile" field appears on page load if CSV is selected as the file format. This is helpful if the user has reloaded the page or arrived at the page by using the browser back button. To test, apply the patch and go to Cataloging -> Export catalog data. - Under the "Export bibliographic records" tab you should see two Select2-style form field under the "Select records to export" heading, "Item type" and "Home library." - Confirm that the fields work correctly when adding one or more selections to each. - Confirm that the selections work correctly to filter the export. I recommend using CSV as the file format for the export. A MARC export CSV profile (Tools -> CSV profiles -> New CSV profile) containing these fields will show the relevant information: Title=245$a\|Library=952$a\|Itemtype=952$y - When you select CSV as the file format the "CSV profile" dropdown menu should appear. If you choose a different format, that dropdown should disappear. - With CSV selected as the file format, reload the page. The "CSV profile" field should still be visible. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Felicie <felicie.thiery@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180421|0 |1 is obsolete| | --- Comment #2 from Felicie <felicie.thiery@biblibre.com> --- Created attachment 180477 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180477&action=edit Bug 39533: Use select2 to select item types and libraries in biblio export This patch updates the bibliographic export page so that item type and library export use Select2 form fields. This change has the added benefit of enabling the removal of a single-use include, branch-selector.inc. The patch also adds some JavaScript to make sure the "CSV profile" field appears on page load if CSV is selected as the file format. This is helpful if the user has reloaded the page or arrived at the page by using the browser back button. To test, apply the patch and go to Cataloging -> Export catalog data. - Under the "Export bibliographic records" tab you should see two Select2-style form field under the "Select records to export" heading, "Item type" and "Home library." - Confirm that the fields work correctly when adding one or more selections to each. - Confirm that the selections work correctly to filter the export. I recommend using CSV as the file format for the export. A MARC export CSV profile (Tools -> CSV profiles -> New CSV profile) containing these fields will show the relevant information: Title=245$a\|Library=952$a\|Itemtype=952$y - When you select CSV as the file format the "CSV profile" dropdown menu should appear. If you choose a different format, that dropdown should disappear. - With CSV selected as the file format, reload the page. The "CSV profile" field should still be visible. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Felicie <felicie.thiery@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |felicie.thiery@biblibre.com --- Comment #3 from Felicie <felicie.thiery@biblibre.com> --- Nice! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Biblibre Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180477|0 |1 is obsolete| | --- Comment #4 from Biblibre Sandboxes <sandboxes@biblibre.com> --- Created attachment 180631 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180631&action=edit Bug 39533: Use select2 to select item types and libraries in biblio export This patch updates the bibliographic export page so that item type and library export use Select2 form fields. This change has the added benefit of enabling the removal of a single-use include, branch-selector.inc. The patch also adds some JavaScript to make sure the "CSV profile" field appears on page load if CSV is selected as the file format. This is helpful if the user has reloaded the page or arrived at the page by using the browser back button. To test, apply the patch and go to Cataloging -> Export catalog data. - Under the "Export bibliographic records" tab you should see two Select2-style form field under the "Select records to export" heading, "Item type" and "Home library." - Confirm that the fields work correctly when adding one or more selections to each. - Confirm that the selections work correctly to filter the export. I recommend using CSV as the file format for the export. A MARC export CSV profile (Tools -> CSV profiles -> New CSV profile) containing these fields will show the relevant information: Title=245$a\|Library=952$a\|Itemtype=952$y - When you select CSV as the file format the "CSV profile" dropdown menu should appear. If you choose a different format, that dropdown should disappear. - With CSV selected as the file format, reload the page. The "CSV profile" field should still be visible. Sponsored-by: Athens County Public Libraries Signed-off-by: Janne <janne.seppanen@lahti.fi> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Use select2 to select item |Use select2 to select item |types and libraries in |types and libraries in |biblio export |export of bibliographic | |records -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette@bywatersolutions.co | |m QA Contact|testopia@bugs.koha-communit |lisette@bywatersolutions.co |y.org |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180631|0 |1 is obsolete| | --- Comment #5 from Lisette Scheer <lisette@bywatersolutions.com> --- Created attachment 181548 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=181548&action=edit Bug 39533: Use select2 to select item types and libraries in biblio export Worked great and looks much nicer. This patch updates the bibliographic export page so that item type and library export use Select2 form fields. This change has the added benefit of enabling the removal of a single-use include, branch-selector.inc. The patch also adds some JavaScript to make sure the "CSV profile" field appears on page load if CSV is selected as the file format. This is helpful if the user has reloaded the page or arrived at the page by using the browser back button. To test, apply the patch and go to Cataloging -> Export catalog data. - Under the "Export bibliographic records" tab you should see two Select2-style form field under the "Select records to export" heading, "Item type" and "Home library." - Confirm that the fields work correctly when adding one or more selections to each. - Confirm that the selections work correctly to filter the export. I recommend using CSV as the file format for the export. A MARC export CSV profile (Tools -> CSV profiles -> New CSV profile) containing these fields will show the relevant information: Title=245$a\|Library=952$a\|Itemtype=952$y - When you select CSV as the file format the "CSV profile" dropdown menu should appear. If you choose a different format, that dropdown should disappear. - With CSV selected as the file format, reload the page. The "CSV profile" field should still be visible. Sponsored-by: Athens County Public Libraries Signed-off-by: Janne <janne.seppanen@lahti.fi> Signed-off-by: Lisette Scheer <lisette@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 --- Comment #6 from Lisette Scheer <lisette@bywatersolutions.com> --- I did get these warnings when I ran the QA tool: Use of uninitialized value $new_filepath in hash element at /kohadevbox/qa-test-tools/QohA/Git.pm line 39. Processing files before patches Argument "value" isn't numeric in subtraction (-) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc line 10. But no new files were added and the second warning was for a file that was deleted, so I still passed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |release-notes-needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |25.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 25.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|release-notes-needed | Text to go in the| |This enhancement updates release notes| |the bibliographic records | |export tool to use select2 | |for multiselect of item | |types and libraries for a | |more friendly user | |experience. Additionally | |the page will correctly | |load CSV profiles if the | |page is reloaded or | |navigated to using the back | |button and CSV is selected | |for the export. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40534 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40534 [Bug 40534] Fields in item form different sizes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Status|Pushed to main |Needs documenting --- Comment #8 from Fridolin Somers <fridolin.somers@biblibre.com> --- Enhancement not pushed to 24.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39533 CJ Lynce <cj.lynce@westlakelibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |40931 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40931 [Bug 40931] Hold pickup location drop-down boxes not wide enough when placing multiple holds at the same time. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org