Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Source Toolbar - Filter not set initial anymore #171

Open
DominicFe opened this issue Aug 26, 2024 · 1 comment
Open

Data Source Toolbar - Filter not set initial anymore #171

DominicFe opened this issue Aug 26, 2024 · 1 comment

Comments

@DominicFe
Copy link

DominicFe commented Aug 26, 2024

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".
image

These filters are not set initial anymore, i always have to select them now manually:

image

Regards,
Dominic

@DominicFe DominicFe changed the title Filter is not set initial anymore Data Source Toolbar - Filter not set initial anymore Aug 26, 2024
@BertramBo
Copy link

are there any new informations about this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants