I tested and if the custom field is dateinterval, after filtering, the values chosen aren't displayed in the sidebar but are present in the url.
Is this a bug of osclass?
I gues the code responsible for that is from oc-includes/osclass/frm/Field.form.class.php
} else if($field['e_type']=="DATEINTERVAL") {
if($search) {
echo '<h6>'.$field['s_name'].'</h6>';
} else {
echo '<label for="meta_'.$field['s_slug'].'">'.$field['s_name'].': </label>';
}
echo __('from'). ' ';
echo '<input type="hidden" id="meta_'.$field['s_slug'].'_from" name="meta['.$field['pk_i_id'].'][from]" value="'.$field['s_value']['from'].'" />';
echo '<input type="text" id="" class="meta_'.$field['s_slug'].'_from cf_date_interval" value="" />';
FieldForm::initDatePicker('meta_'.$field['s_slug'].'_from', osc_date_format(), $field['s_value']['from'], 'from');
echo ' ' . __('to'). ' ';
echo '<input type="hidden" id="meta_'.$field['s_slug'].'_to" name="meta['.$field['pk_i_id'].'][to]" value="'.$field['s_value']['to'].'" />';
echo '<input type="text" id="" class="meta_'.$field['s_slug'].'_to cf_date_interval" value="" />';
FieldForm::initDatePicker('meta_'.$field['s_slug'].'_to', osc_date_format(), $field['s_value']['to'], 'to');
And I suspect that
$temp['from'] = Params::getParam('meta['.$field['pk_i_id'].'][from]');
$temp['to'] = Params::getParam('meta['.$field['pk_i_id'].'][to]');
Is not returning nothing when search=true(the results being displyed in search-sidebar.php).
I aded a picture that contains var_dump($temp).
Thank you.