Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:recycle: Refactor av data structure

Danieldc702d0a5418
diff --git a/kernel/av/table.go b/kernel/av/table.go
index 33350e9865..4622ec5e42 100644
--- a/kernel/av/table.go
+++ b/kernel/av/table.go
@@ -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
}