mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20: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
|
|
@ -724,7 +724,7 @@ func renderAttributeView(attrView *av.AttributeView, viewID, query string, page,
|
|||
}
|
||||
|
||||
viewable.FilterRows(attrView)
|
||||
viewable.SortRows()
|
||||
viewable.SortRows(attrView)
|
||||
viewable.CalcCols()
|
||||
|
||||
// 分页
|
||||
|
|
@ -2010,7 +2010,7 @@ func addAttributeViewBlock(avID, blockID, previousBlockID, addingBlockID string,
|
|||
if nil != view && 0 < len(view.Table.Filters) && !ignoreFillFilter {
|
||||
viewable, _ := renderAttributeViewTable(attrView, view, "")
|
||||
viewable.FilterRows(attrView)
|
||||
viewable.SortRows()
|
||||
viewable.SortRows(attrView)
|
||||
|
||||
var nearRow *av.TableRow
|
||||
if 0 < len(viewable.Rows) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue