X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9321e425a4b6a42f8c6579a27f575d40a07efa12..90b29aa8080ffae08084cf556b45e05f9f2d3198:/settings/flex-base.lua?ds=sidebyside diff --git a/settings/flex-base.lua b/settings/flex-base.lua index a7a3c58c..0e112736 100644 --- a/settings/flex-base.lua +++ b/settings/flex-base.lua @@ -461,8 +461,8 @@ end function module.set_prefilters(data) PRE_DELETE = module.tag_match{keys = data.delete_keys, tags = data.delete_tags} - PRE_EXTRAS = module.tag_match{keys = data.extratag_keys, - tags = data.extratag_tags} + PRE_EXTRAS = module.tag_match{keys = data.extra_keys, + tags = data.extra_tags} end function module.set_main_tags(data) @@ -484,12 +484,12 @@ end function module.set_unused_handling(data) if data.extra_keys == nil and data.extra_tags == nil then - POST_DELETE = module.tag_match{data.delete_keys, tags = data.delete_tags} + POST_DELETE = module.tag_match{keys = data.delete_keys, tags = data.delete_tags} POST_EXTRAS = nil SAVE_EXTRA_MAINS = true elseif data.delete_keys == nil and data.delete_tags == nil then POST_DELETE = nil - POST_EXTRAS = module.tag_match{data.extra_keys, tags = data.extra_tags} + POST_EXTRAS = module.tag_match{keys = data.extra_keys, tags = data.extra_tags} SAVE_EXTRA_MAINS = false else error("unused handler can have only 'extra_keys' or 'delete_keys' set.")