Skip to content

Commit f1d16e2

Browse files
committed
corrections
1 parent 369b193 commit f1d16e2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,9 @@ None
104104
the current user as the enrolment officer during family or insuree creation. If 'True', the officer is inferred from session; if 'False', manual selection remains available. (default: 'False)
105105
- `isDefaultFetchInsureeActivated`, manage default fetch behavior of insuree searcher ; default: true
106106
- `isDefaultFetchFamilyActivated`, manage default fetch behavior of family searcher ; default: true
107+
- `searcherColumnsConfig`, manage columns visibility in searcher ; default: {}, e.g {email : "H", phone : "H"}
108+
the default value of the configuration is an empty object, which means that all columns are visible.
109+
110+
111+
107112

src/components/FamilySearcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class FamilySearcher extends Component {
3737
"familyFilter.rowsPerPageOptions",
3838
[10, 20, 50, 100],
3939
);
40-
this.columns = props.modulesManager.getConf("fe-insuree", "columns", {});
40+
this.columns = props.modulesManager.getConf("fe-insuree", "searcherColumnsConfig", {});
4141
this.defaultPageSize = props.modulesManager.getConf("fe-insuree", "familyFilter.defaultPageSize", 10);
4242
this.locationLevels = this.props.modulesManager.getConf("fe-location", "location.Location.MaxLevels", 4);
4343
this.renderLastNameFirst = props.modulesManager.getConf(

0 commit comments

Comments
 (0)