catalog:createSmartCollection and filename with spaces
I'm creating smart collection with a list of files:
local function stringifyPhotoList( photoList )
return table.concat(photoList, ", ")
end
[...]
local searchDesc = {
criteria = "filename",
operation = "any",
value = stringifyPhotoList(photos),
}
catalog:createSmartCollection(subColName, searchDesc, newParentColSet)
filenames are separated with commas.
Everything works fine - I have smart collection with selected photos.
Expect one case - when filenames contain spaces - then it starts matching a lot more photos than it should.
I don't know how can I handle such case. I tried enclosing filenames in parentheses or apostrophies - it does not help.

