mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
update porfolio
This commit is contained in:
parent
b0f3f2f6f7
commit
0d00d1e63a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user