[Koha-bugs] [Bug 19021] inventory column sorting
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 2 15:34:52 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19021
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #65417|0 |1
is obsolete| |
--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 65424
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65424&action=edit
[SIGNED-OFF] Bug 19021 - inventory column sorting
In inventory result page, items are shown in a JS DataTable.
For an inventory with barcode file second column is not sortable for no reason.
For an inventory without barcode file first column is not sortable but since it
is the default sort order the sorting icon is still displayed.
This patch corrects by setting default sort order on barcode column.
Test plan :
- perform inventory with barcode file
- look at result table
- table is sorted by barcode
=> Without patch second column is not sortable
=> With patch all columns are sortable
- perform inventory without barcode file
- look at result table
=> Without patch first column show sort icon and table is not sorted by barcode
=> With patch first column is not sortable and table is sorted by barcode
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list