Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
5.x-1.6
Component:
exposed filters
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2009 at 01:33 UTC
Updated:
12 Mar 2010 at 23:10 UTC
Dear All,
In my last project i need to change in realtime filters without changing the form, for example in the case of "**ALL**" on a node type filter.
I added this in views.module (views_build_view):
....
foreach (module_implements('views_alter_filters') as $module) {
$function = $module .'_views_alter_filters';
$function(&$filters, $view);
}
views_set_current_view($view);
....
I think that could be very useful.
If you think that is good i will provide a patch against last stable release.
Thanks :)
Comments
Comment #1
harrisonwidz commentedwow, this is very useful! Thanks a lot.
Why not including it into the module?
Comment #2
esmerel commentedNo commits are being made to the 5.x branch at this point.