tagtexts = TagText.query.filter(TagText.text.in_(tags))
tagtext_ids = [_.id for _ in tagtexts]
# Fetch art that has all the tags
c.artwork = Art.query.join(Tag) \
tagtexts = TagText.query.filter(TagText.text.in_(tags))
tagtext_ids = [_.id for _ in tagtexts]
# Fetch art that has all the tags
c.artwork = Art.query.join(Tag) \