Skip to content

Commit

Permalink
Fix keyword "include on export" option
Browse files Browse the repository at this point in the history
  • Loading branch information
rcloran committed May 12, 2023
1 parent 355032c commit 7d146cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lr-inaturalist-publish.lrdevplugin/SyncObservations.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ local function createKeyword(kw, cache, settings)
withWriteAccessDo("Create keyword " .. kw[#kw][1], function()
for _, part in pairs(kw) do
if not cache[part[1]] then
local tmp = catalog:createKeyword(part[1], { part[2] }, settings.includeOnExport, parent, true)
local tmp =
catalog:createKeyword(part[1], { part[2] }, settings.syncKeywordsIncludeOnExport, parent, true)
cache[part[1]] = { tmp }
end
cache = cache[part[1]]
Expand Down

0 comments on commit 7d146cc

Please sign in to comment.