Hi,

I have a working view with selective filters.
If I add a combined filter (for ex.: to search for both title and subtitle fields in one go) AND i submit a value in the exposed form for it - i get:
Fatal error: Call to a member function ensure_my_table() on a non-object in /home/jack/domains/dierre.bradipo/httpdocs/sites/all/modules/contrib/views/handlers/views_handler_filter_combine.inc on line 60

here is backtrace:
# Time Memory Function Location
1 0.0000 243488 {main}( ) ../index.php:0
2 0.0372 4929464 menu_execute_active_handler( ) ../index.php:21
3 0.0373 4930472 call_user_func_array ( ) ../menu.inc:519
4 0.0373 4930968 views_page( ) ../menu.inc:519
5 0.0454 7231280 view->execute_display( ) ../views.module:540
6 0.0705 11700552 views_plugin_display_page->execute( ) ../view.inc:1345
7 0.0705 11701720 view->build( ) ../views_plugin_display_page.inc:217
8 0.0712 11764016 views_plugin_exposed_form->render_exposed_form( ) ../view.inc:965
9 0.0712 11765232 drupal_build_form( ) ../views_plugin_exposed_form.inc:161
10 0.0712 11768256 drupal_retrieve_form( ) ../form.inc:350
11 0.0712 11769192 call_user_func_array ( ) ../form.inc:841
12 0.0712 11770088 views_exposed_form( ) ../form.inc:841
13 0.1946 13078744 views_handler_filter->exposed_form( ) ../views.module:2015
14 0.1946 13078744 views_handler_filter_selective->value_form( ) ../views_handler_filter.inc:783
15 0.1946 13078744 views_handler_filter_selective->get_value_options( ) ../views_handler_filter_selective.inc:69
16 0.1946 13078832 views_handler_filter_selective->get_oids( ) ../views_handler_filter_selective.inc:42
17 0.1947 13102992 view->execute( ) ../views_handler_filter_selective.inc:382
18 0.1947 13102992 view->build( ) ../view.inc:1124
19 0.2091 13242808 view->_build( ) ../view.inc:995
20 0.2093 13245256 views_handler_filter_combine->query( ) ../view.inc:1106

adam

Comments

jakabadambalazs created an issue. See original summary.

david_garcia’s picture

Status: Active » Closed (duplicate)
Related issues: +#2247957: Support for "Global: Combine fields filter"

Closing as dupllicate of 2247957

jakabadambalazs’s picture

i think that is a different one - i do not mean to have support for combined filter in selective filters. I use combined filter as normally (no selective stuff) - and it works - as soon as I add selective filters, the whole search breaks (only when submitting a value in the combined filter field).
I think it has to do with the manipulation of the cloned view in get_oids method

david_garcia’s picture

If you read the referenced issue carefully the problem is that a selective filter cannot exist in the same view with a global combine field even if they are unrelated.

So basically, if you add a selective filter to your view, you won't be able to use global combine in that view.

Hence supporting such a situation is a feature request, specialy regarding the analysis done in #2247957: Support for "Global: Combine fields filter" where I conclude that to solve this issue properly there is quite some work to be done.

jakabadambalazs’s picture

YES, you are right - sorry I was reading it too quickly.
Subscribed to: 2247957

thanks