59695: Browse-By-Title-Page refactoring

This commit is contained in:
Kristof De Langhe
2019-02-12 12:53:23 +01:00
parent b1b239d451
commit bd211ce0f4
2 changed files with 25 additions and 65 deletions

View File

@@ -7,7 +7,7 @@ import { BrowseByDatePageComponent } from './+browse-by-date-page/browse-by-date
@NgModule({
imports: [
RouterModule.forChild([
{ path: 'title', component: BrowseByTitlePageComponent },
{ path: 'title', component: BrowseByTitlePageComponent, data: { metadata: 'title' } },
{ path: 'dateissued', component: BrowseByDatePageComponent, data: { metadata: 'dateissued', metadataField: 'dc.date.issued' } },
{ path: ':metadata', component: BrowseByMetadataPageComponent }
])