Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
exposed filters
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2011 at 16:34 UTC
Updated:
29 Dec 2011 at 23:20 UTC
Hi,
Using the file_entity module I have added a taxonomy reference field for files (field_media_tags), which allows files on my page to be tagged the same way as nodes.
I'd like to use these tags to filter a file view, in particular the media browser view provided by the media module (2.x brach). I therefore tried to add field_media_tags as an exposed filter to the view. Unfortunately this only adds an input field, which accepts numeric term ids for filtering, to the exposed form.
How can I turn this input field into a taxonomy term dropdown/select/autocomplete field?
Comments
Comment #1
bforchhammer commentedAfter a little more digging, I think that I'm basically looking for an equivalent of the "Content: has taxonomy term" filter for file views... Would that be hard to add?
Comment #2
dawehnerYes sort of, because content: has taxonomy term can use the taxonomy_index which does only exists for nodes.
To be able to have such a table davereid created a module: taxonomy_entity_index. There is a patch in the queue of that module which provides this kind of views integration you need.
Comment #3
dawehnerLet's mark this as fixed.
Comment #4
bforchhammer commentedOkay, thanks for your reply, dereine.