[Koha-bugs] [Bug 17748] Show due date and availability in item search results
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 6 09:15:17 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17748
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart+koha at gmail.
| |com
--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Aleisha Amohia from comment #7)
> (In reply to Owen Leonard from comment #6)
> > This works well except for sorting: Sorting the results by Availability or
> > by Date due doesn't work. The order changes, but not to the correct order.
>
> I have no idea why this is happening or how to fix it. Any datatables
> experts know why the filtering and sorting doesn't work for these two
> columns?
You are not doing anything to sort correctly on those 2 columns.
It's an AJAX-based table, the results are not sorted in JS client-side only.
You certainly need to modify C4::Items::SearchItems to correctly deal with
those 2 columns in the order by clause.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list