mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-17 06:09:50 +02:00
update porfolio
This commit is contained in:
@ -7,7 +7,7 @@ BaseController:subclass(
|
||||
)
|
||||
|
||||
local sectionsByCid = function(db, id)
|
||||
local cond = {exp = {["="] = {cid = id}}, order = {start = "DESC"}}
|
||||
local cond = {exp = { ["and"] = {{["="] = {cid = id}}, {["= "] = {publish = 1}} }}, order = {start = "DESC"}}
|
||||
local data, a = db:find(cond)
|
||||
return data, a
|
||||
end
|
||||
|
Reference in New Issue
Block a user