Inheritance filters in view
You will need to implement hook_views_query_alter to get this going.

Start with the filters in Views.



Make your filters look exactly like this. With that I mean that there should be two groups of filters with AND between the groups. And you need to set Or in the second group. This is important otherwise the code below will not work.

Then replace hook_views_pre_execute with the code below for hook_views_query_alter. I also recommend you rename your module to customsearch instead of customSearch, small letters is standard in function names for Drupal.

/**
* Implements hook_views_query_alter().
*/
function customsearch_views_query_alter(&amp;$view, &amp;$query) {
  if ($view-&gt;name == 'search') {
    if (isset($query-&gt;where[2]['conditions'][0]['field']) &amp;&amp; $query-&gt;where[2]['conditions'][0]['field'] == 'field_data_field_price1.field_price1_value') {      
      $query-&gt;where[2]['conditions'][1]['value'][0] = $query-&gt;where[2]['conditions'][0]['value'][0];
      $query-&gt;where[2]['conditions'][1]['value'][1] = $query-&gt;where[2]['conditions'][0]['value'][1];
    }
    else {
      unset($query-&gt;where[2]);
    }
  }
}


In the code I first check to see if something has been entered in the exposed filter. If it is present we populate the second filter's values.

If you enable the module devel and do dsm($query) just before the last } you can debug and look in  the array yourself. For exammple number 2 in $query->where[2] means the second group of filters, which you will see easily if you debug.

Update: I've added an else statement so that the price fields are not in effect at all if nothings been entered in the in betweens.