[Koha-bugs] [Bug 19021] inventory column not sortable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 2 11:45:17 CEST 2017


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

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #65413|0                           |1
        is obsolete|                            |

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

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


More information about the Koha-bugs mailing list