This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
sormas-ui/src/main/java/de/symeda/sormas/ui/configuration/infrastructure Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ public DistrictsGrid(DistrictCriteria criteria) {
6363 DistrictIndexDto .POPULATION ,
6464 DistrictIndexDto .GROWTH_RATE );
6565
66+ getColumn (DistrictIndexDto .POPULATION ).setSortable (false );
67+
6668 if (UserProvider .getCurrent ().hasUserRight (UserRight .INFRASTRUCTURE_EDIT )) {
6769 addEditColumn (e -> ControllerProvider .getInfrastructureController ().editDistrict (e .getUuid ()));
6870 }
Original file line number Diff line number Diff line change 2626import de .symeda .sormas .api .FacadeProvider ;
2727import de .symeda .sormas .api .feature .FeatureType ;
2828import de .symeda .sormas .api .i18n .I18nProperties ;
29+ import de .symeda .sormas .api .region .DistrictIndexDto ;
2930import de .symeda .sormas .api .region .RegionCriteria ;
3031import de .symeda .sormas .api .region .RegionIndexDto ;
3132import de .symeda .sormas .api .user .UserRight ;
@@ -64,6 +65,8 @@ public RegionsGrid(RegionCriteria criteria) {
6465 RegionIndexDto .POPULATION ,
6566 RegionIndexDto .GROWTH_RATE );
6667
68+ getColumn (DistrictIndexDto .POPULATION ).setSortable (false );
69+
6770 if (!FacadeProvider .getFeatureConfigurationFacade ().isFeatureEnabled (FeatureType .INFRASTRUCTURE_TYPE_AREA )) {
6871 removeColumn (RegionIndexDto .AREA );
6972 }
You can’t perform that action at this time.
0 commit comments