[Koha-bugs] [Bug 14907] Item search: Call Numbers in Item search results are ordered alphabetically
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 24 19:06:35 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14907
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
The item search table is rendered server-side, so all sorting happens
server-side. This eliminates some of our standard sorting methods, like
embedding a sortable string in a title tag.
Renaming the column "cn_sort" has the right effect for the purposes of sorting:
The column name "cn_sort" is passed to the query and the rows are sorted
correctly by call number.
Unfortunately this breaks the column filter: "cn_sort" is an ambiguous column
name for the purposes of the query because of biblioitems.cn_sort. I'm not sure
if there is a good way to handle this besides adding some conditional code
specific to these columns.
Suggestions welcome!
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list