diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp index 92dc937..6731a5f 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp @@ -24,8 +24,8 @@ - - + + @@ -106,6 +106,12 @@ userCtrl.onDatasetChange = obj => { }); }; +userCtrl.onSort = sorter => { + userCtrl.renderList(); + + sorting.setHeaders(userCtrl.querySelectorAll("th[data-field]"), sorter); +}; + userCtrl.onCurrentChange = item => { if (!item) return;