Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2009 at 23:34 UTC
Updated:
17 Mar 2010 at 19:03 UTC
Is there any way to remove, skip or override the validation check on the User: Name filter for views.
I can see where the function is being called in views_handler_filter_user_name.inc and the only way I can think to do it (without hacking the module) is to use hook_form_alter and remove the call to 'views_exposed_form_validate' and thencreate my own validation function, but this may just cause other problems.
Comments
Comment #1
dawehnerthats not the only way :)
you can use hook_views_data_alter and change the handler of the filter to change the behavior of the validation
Comment #2
esmerel commentedNo response to suggested fix.