Skip to content

Commit

Permalink
search: fix search filters
Browse files Browse the repository at this point in the history
* Takes into account the search filters when the check if the parameters have changed is done. Without that, the click on search filters buttons have no effect.
* Closes rero/sonar#510.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
  • Loading branch information
Sébastien Délèze committed Mar 16, 2021
1 parent 3093a14 commit 8ec37c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export interface SearchParams {
size: number;
aggregationsFilters: Array<AggregationsFilter>;
sort: string;
searchFields: Array<SearchField>;
}

@Component({
Expand Down Expand Up @@ -781,7 +782,8 @@ export class RecordSearchComponent implements OnInit, OnChanges, OnDestroy {
page: this.page,
size: this.size,
sort: this.sort,
aggregationsFilters: this.aggregationsFilters
aggregationsFilters: this.aggregationsFilters,
searchFields: this.searchFields
};
}

Expand Down

0 comments on commit 8ec37c1

Please sign in to comment.