AnsweredAssumed Answered

Range Search in SugarCrm 6.5.22 CE not work

Question asked by olgert on Dec 23, 2015
Latest reply on Dec 31, 2015 by Harald Kuske

In vardefs.php prescribe

 

'warehouse_space' =>

  array (

  'required' => false,

  'name' => 'warehouse_space',

  'vname' => 'LBL_WAREHOUSE_SPACE',

  'type' => 'decimal',

  'dbType' => 'decimal',

  'massupdate' => 0,

  'no_default' => false,

  'comments' => '',

  'help' => '',

  'importable' => 'true',

  'duplicate_merge' => 'disabled',

  'duplicate_merge_dom_value' => '0',

  'audited' => true,

  'reportable' => true,

  'unified_search' => false,

  'merge_filter' => 'disabled',

  'len' => '16',

  'size' => '20',

  'enable_range_search' => true,

  'options' => 'numeric_range_search_dom',

  'precision' => '2',

),

 

In SearchFields.php to prescribe warehouse_space
'range_date_warehouse_space' => array ('query_type' => 'default', 'enable_range_search' => true),
'start_range_warehouse_space' => array ('query_type' => 'default', 'enable_range_search' => true),
'end_range_warehouse_space' => array ('query_type' => 'default', 'enable_range_search' => true),

 

Search for the field is not working.
For fields of type date works .

Outcomes