mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🎨 Database select field supports sorting by option order Fix https://github.com/siyuan-note/siyuan/issues/10665
This commit is contained in:
parent
d522a74654
commit
30d95605df
4 changed files with 30 additions and 15 deletions
|
|
@ -87,7 +87,7 @@ func ExportAv2CSV(avID, blockID string) (zipPath string, err error) {
|
|||
|
||||
// 遵循视图过滤和排序规则 Use filtering and sorting of current view settings when exporting database blocks https://github.com/siyuan-note/siyuan/issues/10474
|
||||
table.FilterRows(attrView)
|
||||
table.SortRows()
|
||||
table.SortRows(attrView)
|
||||
|
||||
exportFolder := filepath.Join(util.TempDir, "export", "csv", name)
|
||||
if err = os.MkdirAll(exportFolder, 0755); nil != err {
|
||||
|
|
@ -2284,7 +2284,7 @@ func exportTree(tree *parse.Tree, wysiwyg, expandKaTexMacros, keepFold bool,
|
|||
|
||||
// 遵循视图过滤和排序规则 Use filtering and sorting of current view settings when exporting database blocks https://github.com/siyuan-note/siyuan/issues/10474
|
||||
table.FilterRows(attrView)
|
||||
table.SortRows()
|
||||
table.SortRows(attrView)
|
||||
|
||||
var aligns []int
|
||||
for range table.Columns {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue