Update board flag search on archive.

This commit is contained in:
ccd0 2021-05-06 13:15:21 -07:00
parent 18cffc1b8a
commit e884628918

View File

@ -39,11 +39,11 @@ ArchiveLink =
else
(post) ->
typeParam = if type is 'country' and post.info.flagCodeTroll
'tag'
'troll_country'
else
type
value = if type is 'country'
post.info.flagCode or post.info.flagCodeTroll
post.info.flagCode or post.info.flagCodeTroll.toLowerCase()
else
Filter.values(type, post)[0]
# We want to parse the exact same stuff as the filter does already.