Feature request: An "ALL" value option for views filters so that new data for the filter is automatically included.
AFAIK, this feature doesn't exist, or I couldn't set up my views for this, and documentation on [#54457] doesn't tell more.
One particular case of mine: I'd like to mimic the admin/content/node view, with a actions_view.module view.
Therefore we need a "Taxonomy : Term" filter (which we expose. Exposed or not,) this filter needs a value (in case we ommit this, an error message reminds it when submitting the view).
Problem: With the logic operator "Is one of", selecting all the terms means that to keep our view updated, we need to udate it each time we have a new term... because the view won't do so by itself. You'll notice that when editing your view after new terms were added: the only terms selected in the filter are the ones you selected when *you* last did. Therefore your views' filter will show your new terms unselected, and your view won't take them in account.
This is a concerning problem that selecting them all won't give you them all selected automatically if you have new term data.
I have hundreds of terms and a few new regularly. The case for a need to having views automaticaly updated with new data happens for other filters as well, in other views (although I don't have an example for it, we might also find cases for CCK filters, reason for I choose "Views data" as component). I just can't update each of my views' filters each time I have new data... I think this is critical because of the gavity of the case and the prevalence of the risk.
(I tried with operator "Is none of" with no term selected because it used to return me nodes in other views' settings (as long as "none of none" returns "all"), but it didn't work for this particular view.)
This is why I think we need such a feature.
Comments
Comment #1
doc2@drupalfr.org commentedUpdate for non converted [#54457] pattern in previous post:
Views filter documentation: http://drupal.org/node/54457
Comment #2
doc2@drupalfr.org commentedPrecisions: this request apply to unexposed filters only, because leaving exposed filters independent from the (unexposed) "filters settings" (Defaults unchecked) allow the "ALL" value to be checked and is ALL by default in the resulting view.
Comment #3
doc2@drupalfr.org commentedIssue related to "Missing taxonomy terms in filters": http://drupal.org/node/199675
Comment #4
doc2@drupalfr.org commentedSorry, I thought that the previous topic would solve the problem, but it has not. Reopening though.
#2 remain true. I guess that if this feature exists for exposed filters' views and not for hidden ones', we're facing a bug... Bzzzz!
Comment #5
merlinofchaos commentedI don't understand. ALL is the same as not having the filter there? Which is why it exists for exposed filters but not for unexposed.
As far as I can tell you're really asking for a feature? And it's a feature that I don't understand the utility of?
Comment #6
doc2@drupalfr.org commentedSorry for the confusion.
I might just have needed a filter such as the vocabulary name one...
I'll come back to let you know and change the issue settings accordingly.
I apology for this possible mistake. And thanks for answering anyways.
Best regards,
Arsène
Comment #7
sunSorry, unfortunately this support request is way too specific. Please have a look at the issue queue - Views maintainers are buried already. You might want to try to get further support at http://drupal.org/support. Additionally, the answer to your question might be covered in the handbooks at http://drupal.org/handbook/modules/views already.
If you were able to solve this issue on your own in the meantime, you might want to add the involved steps to this closed issue, so other users searching for a similar solution might find it.
Comment #8
doc2@drupalfr.org commentedClosing this messy issue. Sorry for having left that opened for so long.
I had two problems. A real one such as stated in the title of this topic, which was FIXED HERE #199675: Missing taxonomy terms in filters.
One related to RTFM, solved by using "Vocabulary name" to get ALL its terms as a filter, instead of ... choosing "Terms for" as filter and either checking them 'one by one' in the setting form or choosing to expose the filter to benefit from the ALL option.
Apologies and thanks, Arsène
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.