Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2008 at 15:02 UTC
Updated:
4 Dec 2008 at 16:45 UTC
In Country Code module, we added an alternative language filter that provides a fallback for languages, i.e. the filter says "show me all content for the current language (e.g., fr-CA) and as a fallback any content for a two-digit version of that language (fr)". Later we decided this filter has not to do with country, hence it needs to be elsewhere.
Would this be considered as a feature for views? Or should we go with a new project/module?
The module code is here.
Comments
Comment #1
nedjoA major issue I guess is that the filter depends on translation module and requires custom indexes. I don't know that there's an effective way for views to add indexes to a table that may not exist when views is installed.
Comment #2
merlinofchaos commentedIn fact, Views will absolutely not modify core tables, even to add indices. Which kind of sucks, but if that's a requirement it can't be in core Views. It may be something that should be a small module unto its own, perhaps.
Comment #3
catchI think that makes this won't fix - the proper place would be in translation module, but that's in core of course.