OPENBUS-3038 Correção na carga das propriedades do OfferRegistryObserver

parent 86247aab
......@@ -532,6 +532,14 @@ function OfferRegistry:__init(data)
id = id,
login = login,
})
local observerprops = {}
local getPropertyOfferRegistryObserver = db.pstmts.getPropertyOfferRegistryObserver
getPropertyOfferRegistryObserver:bind_values(id)
for prop in getPropertyOfferRegistryObserver:nrows() do
observerprops[#observerprops+1] = prop
end
entry.properties = observerprops
entry.observer = orb:newproxy(entry.observer, nil,
OffRegObserverType)
entry.registry = self
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment