1
0
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:
lxsang 2019-06-11 18:35:34 +02:00
parent b0f3f2f6f7
commit 0d00d1e63a

View File

@ -7,7 +7,7 @@ BaseController:subclass(
) )
local sectionsByCid = function(db, id) 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) local data, a = db:find(cond)
return data, a return data, a
end end