summaryrefslogtreecommitdiffstats
path: root/acf/model/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'acf/model/init.lua')
-rw-r--r--acf/model/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/acf/model/init.lua b/acf/model/init.lua
index 1870849..a53cc0d 100644
--- a/acf/model/init.lua
+++ b/acf/model/init.lua
@@ -68,7 +68,7 @@ function Reference:meta(context)
local txn = context.txn
local objs = txn:get(
- node.addr(relabel('system', txn.search, txn, res.scope))
+ node.addr(relabel('system', txn.fetch, txn, res.scope))
) or {}
res.choice = map(function(p) return pth.join(res.scope, p) end, objs)
res['ui-choice'] = objs
@@ -77,7 +77,7 @@ function Reference:meta(context)
end
function Reference:follow(context, value)
- return context.txn:search(pth.rawjoin(self:abs_scope(context), value))
+ return context.txn:fetch(pth.rawjoin(self:abs_scope(context), value))
end
function Reference:load(context)