summaryrefslogtreecommitdiff
path: root/system/db/content.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/db/content.go')
-rw-r--r--system/db/content.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/db/content.go b/system/db/content.go
index 890c7d6..caa2af3 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -65,6 +65,8 @@ func update(ns, id string, data url.Values) (int, error) {
return 0, nil
}
+ go SortContent(ns)
+
return cid, nil
}
@@ -105,6 +107,8 @@ func insert(ns string, data url.Values) (int, error) {
return 0, err
}
+ go SortContent(ns)
+
return effectedID, nil
}
@@ -154,6 +158,8 @@ func DeleteContent(target string) error {
return err
}
+ go SortContent(ns)
+
return nil
}