mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
♻️ Refactor av data structure
This commit is contained in:
parent
dfa561c62c
commit
dc702d0a54
1 changed files with 0 additions and 4 deletions
|
|
@ -267,10 +267,6 @@ func (table *Table) GetID() string {
|
|||
}
|
||||
|
||||
func (table *Table) SortRows() {
|
||||
sort.Slice(table.Rows, func(i, j int) bool { return table.Rows[i].ID < table.Rows[j].ID })
|
||||
|
||||
// sort by row ids
|
||||
|
||||
if 1 > len(table.Sorts) {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue