diff --git a/components/external_media_links/external_media_list.lua b/components/external_media_links/external_media_list.lua index 64e7c6e4778..2fcf7cfab41 100644 --- a/components/external_media_links/external_media_list.lua +++ b/components/external_media_links/external_media_list.lua @@ -111,11 +111,11 @@ function MediaList._buildConditions(args) additionalConditions, '([[extradata_subject_organization::' .. args.org - ']] OR [[extradata_subject_organization::' + .. ']] OR [[extradata_subject_organization::' .. args.org:gsub(' ', '_') .. ']])' ) - table.insert(additionalConditions, MediaList._buildMultiKeyCondition(args.org, 'extraata_subject_organization', 5)) + table.insert(additionalConditions, MediaList._buildMultiKeyCondition(args.org, 'extradata_subject_organization', 5)) end if args.author then