[Koha-bugs] [Bug 19021] Inventory column sorting

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 14 16:49:48 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19021

--- Comment #6 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 67138
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67138&action=edit
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 callnumber column.

Test plan :
- perform inventory with barcode file
- look at result table
- table is sorted by callnumber
=> 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
callnumber
=> With patch first column is not sortable and table is sorted by callnumber

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list