Summary: | OPAC holdings table - sort for current library column doesn't work | ||
---|---|---|---|
Product: | Koha | Reporter: | David Nind <david> |
Component: | OPAC | Assignee: | Owen Leonard <oleonard> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers, michaela.sieber |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35319 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This fixes the holdings table on the OPAC's bibliographic detail
page so that home and current library columns are sorted correctly by
library name.
|
Version(s) released in: |
23.11.00,23.05.05,22.11.12
|
Circulation function: | |||
Bug Depends on: | 29144, 31313 | ||
Bug Blocks: | |||
Attachments: |
Bug 35006: OPAC holdings table - Fix sort for library columns
Bug 35006: OPAC holdings table - Fix sort for library columns Bug 35006: OPAC holdings table - Fix sort for library columns |
Description
David Nind
2023-10-08 18:30:57 UTC
Confirmed the bug, but not sure what the problem is :( Created attachment 156797 [details] [review] Bug 35006: OPAC holdings table - Fix sort for library columns This patch updates the holdings table on the OPAC's bibliographic detail page so that home and current library columns can be sorted correctly by library name. There have been changes to the way the template shows these values, but the DataTables "data-sort" attribute on the table cell had not been updated accordingly. To test, apply the patch set the OpacLocationBranchToDisplay system preference to "home and holding libraries." - Make sure home and holding library columns are not hidden in the table settings under Administration -> Table settings -> OPAC -> holdingst. - Locate a bibliographic record in the OPAC which has multiple items from different libraries. - Test that the home and current library columns sort correctly by library name. Created attachment 156804 [details] [review] Bug 35006: OPAC holdings table - Fix sort for library columns This patch updates the holdings table on the OPAC's bibliographic detail page so that home and current library columns can be sorted correctly by library name. There have been changes to the way the template shows these values, but the DataTables "data-sort" attribute on the table cell had not been updated accordingly. To test, apply the patch set the OpacLocationBranchToDisplay system preference to "home and holding libraries." - Make sure home and holding library columns are not hidden in the table settings under Administration -> Table settings -> OPAC -> holdingst. - Locate a bibliographic record in the OPAC which has multiple items from different libraries. - Test that the home and current library columns sort correctly by library name. Signed-off-by: David Nind <david@davidnind.com> Thanks Owen! Created attachment 156873 [details] [review] Bug 35006: OPAC holdings table - Fix sort for library columns This patch updates the holdings table on the OPAC's bibliographic detail page so that home and current library columns can be sorted correctly by library name. There have been changes to the way the template shows these values, but the DataTables "data-sort" attribute on the table cell had not been updated accordingly. To test, apply the patch set the OpacLocationBranchToDisplay system preference to "home and holding libraries." - Make sure home and holding library columns are not hidden in the table settings under Administration -> Table settings -> OPAC -> holdingst. - Locate a bibliographic record in the OPAC which has multiple items from different libraries. - Test that the home and current library columns sort correctly by library name. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Pushed to master for 23.11. Nice work everyone, thanks! Pushed to 23.05.x for 23.05.05 Nice work everyone! Pushed to oldstable for 22.11.x |