Open DominicFe opened 2 months ago
Hi,
Since the changes which were made on July 3, 2024, I have a problem with the filters. There were changes done at the file "data-source-toolbar.component.ts". Since then the filters weren't set initial anymore.
identities.component.ts:
this.dataModel = this.isAdmin ? await this.identitiesService.getDataModelAdmin() : await this.identitiesService.getDataModelReport(); this.filterOptions = this.dataModel.Filters; this.groupingOptions = this.getGroupableProperties(this.dataModel.Properties);
if (!this.isAdmin) { const indexActive = this.filterOptions.findIndex((elem) => elem.Name === 'isinactive'); if (indexActive > -1) { this.filterOptions[indexActive].InitialValue = '0'; } const reports = this.filterOptions.findIndex((elem) => elem.Name === 'reports'); if (reports > -1) { this.filterOptions[reports].InitialValue = '0'; } }
In the filterOptions I now always get for "this.filterOptions[].CurrentValue" the value "Undefined".
These filters are not set initial anymore, i always have to select them now manually:
Regards, Dominic
are there any new informations about this issue?
Hi,
Since the changes which were made on July 3, 2024, I have a problem with the filters. There were changes done at the file "data-source-toolbar.component.ts". Since then the filters weren't set initial anymore.
identities.component.ts:
this.dataModel = this.isAdmin ? await this.identitiesService.getDataModelAdmin() : await this.identitiesService.getDataModelReport(); this.filterOptions = this.dataModel.Filters; this.groupingOptions = this.getGroupableProperties(this.dataModel.Properties);
In the filterOptions I now always get for "this.filterOptions[].CurrentValue" the value "Undefined".
These filters are not set initial anymore, i always have to select them now manually:
Regards, Dominic