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

harrisonwidz’s picture

wow, this is very useful! Thanks a lot.
Why not including it into the module?

esmerel’s picture

Status: Active » Closed (won't fix)

No commits are being made to the 5.x branch at this point.