Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Fridolin Somers 790150b312 Bug 19021: Fix Inventory columns 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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-27 16:07:26 -03:00
..
automatic_item_modification_by_age.tt
batch_delete_records.tt
batch_record_modification.tt Bug 19357: (bug 18260 follow-up) Remove non-relevant attributes 2017-09-29 12:36:59 -03:00
batchMod-del.tt
batchMod-edit.tt
batchMod.tt
cleanborrowers.tt
csv-profiles.tt
export.tt
holidays.tt
import_borrowers.tt
inventory.tt Bug 19021: Fix Inventory columns sorting 2017-10-27 16:07:26 -03:00
koha-news.tt
letter.tt
manage-marc-import.tt Bug 19414: Move the location of the 'Import this batch into the catalog' button 2017-10-11 13:05:36 -03:00
marc_modification_templates.tt
modborrowers.tt
overduerules.tt Bug 19259: Enforce type of the delay value when editing overdue rules - template side only 2017-10-11 12:40:31 -03:00
picture-upload.tt
quotes-upload.tt
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt
tools-home.tt
upload-images.tt
upload.tt
viewlog.tt