[Bug 43373] New: Holdings table always displays the shelving location column
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 Bug ID: 43373 Summary: Holdings table always displays the shelving location column Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Target Milestone: --- Shelving location is always displayed because it unconditionally wraps the output in: ``` let nodes = '<span class="shelvingloc">'; ... nodes += "</span>"; return nodes; ``` -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.derscheid@lmscloud.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|koha-bugs@lists.koha-commun |jonathan.druart@gmail.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 204083 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204083&action=edit Bug 43373: Holdings table - hide the shelving location column if empty The shelving location cell is always built with data: an empty HTML tag is added even if there is no location. So the "Shelving location" column is always displayed, it should only be displayed if there are items with data. Test plan: Have a biblio with all items without shelving location (or without several pages and at least one page without data). If all rows have empty shelving loc, the column should be hidden -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #204083|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 204233 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204233&action=edit Bug 43373: Holdings table - hide the shelving location column if empty The shelving location cell is always built with data: an empty HTML tag is added even if there is no location. So the "Shelving location" column is always displayed, it should only be displayed if there are items with data. Test plan: Have a biblio with all items without shelving location (or without several pages and at least one page without data). If all rows have empty shelving loc, the column should be hidden Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43373 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.11.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=43373 --- Comment #4 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Thanks everyone! Pushed to main for 26.11! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org