mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-26 18:49:47 +02:00
update: working version compatible with the latest version of silk and antd
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
This commit is contained in:
@ -54,15 +54,14 @@ function CommentController:index(...)
|
||||
data.children = {}
|
||||
-- find all the replies to this thread
|
||||
local sub_comments, suborder =
|
||||
self.comment:find(
|
||||
{
|
||||
where = {
|
||||
pid = pid,
|
||||
rid = data.id
|
||||
},
|
||||
order = {"time$asc"}
|
||||
self.comment:find({
|
||||
where = {
|
||||
pid = pid,
|
||||
rid = data.id
|
||||
},
|
||||
order = {"time$asc"}
|
||||
|
||||
})
|
||||
})
|
||||
if sub_comments and #suborder ~= 0 then
|
||||
for i, subc in pairs(suborder) do
|
||||
sub_comments[subc].content =
|
||||
|
Reference in New Issue
Block a user