Commit c07c3773 by Takumi Imai

作業一覧のソートのバグ

parent 7eb6a437
...@@ -388,8 +388,7 @@ OL.changeSortType = function (sortType) { ...@@ -388,8 +388,7 @@ OL.changeSortType = function (sortType) {
$('.sort-type').removeClass('active'); $('.sort-type').removeClass('active');
$(sortType).addClass('active'); $(sortType).addClass('active');
OL.sortIndex = $(sortType).attr('data-sort'); OL.sortIndex = $(sortType).attr('data-sort');
const sortStr = sortType.dataset.sort; const sortNumber = parseFloat(OL.sortIndex);
const sortNumber = parseFloat(sortStr);
OL.sortOperationList(sortNumber); OL.sortOperationList(sortNumber);
OL.createOperationList(OL.operationList); OL.createOperationList(OL.operationList);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment