aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_selectors.lua')
-rw-r--r--lualib/lua_selectors.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua
index 960d15a24..4d0e7a2ec 100644
--- a/lualib/lua_selectors.lua
+++ b/lualib/lua_selectors.lua
@@ -332,8 +332,9 @@ local transform_function = {
-- Extracts table value from key-value list
['elt'] = {
['types'] = {
- ['kv_list'] = true,
+ ['kv'] = true,
},
+ ['map_type'] = 'string',
['process'] = function(inp, t, args)
return inp[args[1]],'string'
end