I am trying to reload navigation in my angular 5.2 application without any success. If the settings have not changed, the angular router ignores my navigation data.
How do I move:
this.router.navigate(['/search', buildParamsFromSearchCriteria(criteria)]);
This move:
/search;pageSize=20;page=1;orderBy=price;sortDirection=ASCENDING
My module configuration:
imports: [RouterModule.forRoot(appRoutes, { preloadingStrategy: PreloadAllModules, enableTracing: false, onSameUrlNavigation: 'reload' })],
source
share