filtering a Drupal View with ORed criteria

a 夏天 提交于 2019-12-01 21:01:58

You can use the views_or module. It's still in dev but looks promising.

The other option is using hook_views_query_alter with $query->add_where() you should be able to add an or clause. You can also use it to add your aditional WHERE clause that you asked for.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!