Skip to content

Commit

Permalink
Issue #ED-4255 merge: Merge pull request #3615 from Ajoymaity/release…
Browse files Browse the repository at this point in the history
…-7.0.0

Issue #ED-4255 fix: Fixed the search page filter
  • Loading branch information
swayangjit authored May 13, 2024
2 parents fc9c2f2 + f253211 commit 3bfd62a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/category-list/category-list-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class CategoryListPage implements OnInit, OnDestroy {
if (!this.supportedFacets) {
this.formAPIFacets = await this.searchFilterService.fetchFacetFilterFormConfig(this.filterIdentifier, this.frameworkId);
this.supportedFacets = this.formAPIFacets.reduce((acc, filterConfig) => {
acc.push(filterConfig.alternativeCode ? filterConfig.alternativeCode : filterConfig.code);
acc.push(filterConfig.code ? filterConfig.code : filterConfig.alternativeCode);
return acc;
}, []);
}
Expand Down
2 changes: 2 additions & 0 deletions src/services/content/content-aggregator-handler.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ export class ContentAggregatorHandler {
if (!rootOrgId) {
rootOrgId = await this.preferences.getString('defaultRootOrgId').toPromise();
}
frameworkId = frameworkId ? frameworkId : (this.appGlobalService.getCachedFrameworkCategory().id
|| this.appGlobalService.getCurrentUser().syllabus[0]);

try {
this.aggregatorResponse = await this.aggregateContent(request, dataSrc,
Expand Down

0 comments on commit 3bfd62a

Please sign in to comment.