Skip to content

Commit

Permalink
Merge pull request #27135 from yashodha/dev-4532
Browse files Browse the repository at this point in the history
(dev/core#4532) Add sort for country/state fields in reports
  • Loading branch information
demeritcowboy authored Aug 24, 2023
2 parents a07263d + 3aa2011 commit e4d6bcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRM/Report/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -5839,6 +5839,7 @@ protected function getAddressColumns($options = []) {
'options' => CRM_Core_PseudoConstant::stateProvince(),
'is_fields' => TRUE,
'is_filters' => TRUE,
'is_order_bys' => TRUE,
'is_group_bys' => TRUE,
],
$options['prefix'] . 'country_id' => [
Expand All @@ -5847,6 +5848,7 @@ protected function getAddressColumns($options = []) {
'name' => 'country_id',
'is_fields' => TRUE,
'is_filters' => TRUE,
'is_order_bys' => TRUE,
'is_group_bys' => TRUE,
'type' => CRM_Utils_Type::T_INT,
'operatorType' => CRM_Report_Form::OP_MULTISELECT,
Expand Down

0 comments on commit e4d6bcb

Please sign in to comment.