'country_id' => array(
'title' => ts('Country'),
),
+ 'odd_street_number' => array(
+ 'title' => ts('Odd/Even Street Number'),
+ 'type' => CRM_Utils_Type::T_INT,
+ 'no_display' => TRUE,
+ 'required' => TRUE,
+ 'dbAlias' => '(address_civireport.street_number % 2)',
+ ),
),
'filters' => array(
'street_number' => array(
'street_address' => NULL,
'city' => NULL,
),
+ 'order_bys' => array(
+ 'street_name' => array(
+ 'title' => ts('Street Name'),
+ ),
+ 'street_number' => array(
+ 'title' => ts('Street Number'),
+ ),
+ 'odd_street_number' => array(
+ 'title' => ts('Odd/Even Street Number'),
+ 'dbAlias' => 'civicrm_address_odd_street_number',
+ ),
+ ),
'grouping' => 'location-fields',
),
'civicrm_email' => array(