* [story#67828,1h] add table sort.

This commit is contained in:
qixinzhi
2024-11-14 08:55:39 +08:00
committed by 綦新志
parent c3026e5c2c
commit 5b5e7dbfd8
+2
View File
@@ -11,6 +11,8 @@ function getTableOptions(options, info)
{
const lang = getDocAppLang();
options.data.sort((a, b) => a.addedDate > b.addedDate ? -1 : 1);
templateCols = [];
templateCols.push(options.cols.find(col => col.name === 'rawID'));