浏览代码

Fixed filter order by column option

Dustin Utecht 2 年之前
父节点
当前提交
cee25c2f5d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/extensions/filter-control/utils.js

+ 1 - 1
src/extensions/filter-control/utils.js

@@ -333,7 +333,7 @@ export function initFilterSelectControls (that) {
       }
 
       if (that.options.sortSelectOptions) {
-        sortSelectControl(selectControl, 'asc', that.options)
+        sortSelectControl(selectControl, column.filterOrderBy, that.options)
       }
     }
   })