Filter collection based on term #5676
-
I'have to filter a collection based on a taxonomy "category". i use the term fieldtype to let the editor pick one term of the taxonomy. it gets saved correctly
but i'm unable to even dump the value in my antlers view. i always get NULL:
what am i missing? the strange thing is, everything worked fine in the past. the only thing that changed (didn't touch the content nor the templates for a month) was, an upgrade to Statamic 3.3.x |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
is the taxonomy hooked up to the collection? |
Beta Was this translation helpful? Give feedback.
-
i think i found "the" solution or a workaround now: the handle of my term fieldtype is the same as the handle of the taxonomy. so i think that is the problem. as soon as i change the handle of the field, i can access the field in my views correctly |
Beta Was this translation helpful? Give feedback.
i think i found "the" solution or a workaround now:
the handle of my term fieldtype is the same as the handle of the taxonomy. so i think that is the problem.
as soon as i change the handle of the field, i can access the field in my views correctly