mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 10:48:00 +08:00
1、实现富文本编辑器
2、实现项目排序
This commit is contained in:
@@ -25,7 +25,7 @@ func (m *Document) FindDocumentTree(book_id int) ([]*DocumentTree,error){
|
||||
|
||||
var docs []*Document
|
||||
|
||||
count ,err := o.QueryTable(m).Filter("book_id",book_id).OrderBy("-order_sort","document_id").All(&docs,"document_id","version","document_name","parent_id","identify")
|
||||
count ,err := o.QueryTable(m).Filter("book_id",book_id).OrderBy("order_sort","document_id").All(&docs,"document_id","version","document_name","parent_id","identify")
|
||||
|
||||
if err != nil {
|
||||
return trees,err
|
||||
|
Reference in New Issue
Block a user