mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
110889: Added search form to the community & collection pages
This commit is contained in:
@@ -55,16 +55,21 @@ export class ComcolPageBrowseByComponent implements OnDestroy, OnInit {
|
||||
if (this.contentType === 'collection') {
|
||||
comColRoute = getCollectionPageRoute(this.id);
|
||||
allOptions.push({
|
||||
id: 'recent_submissions',
|
||||
label: 'collection.page.browse.recent.head',
|
||||
id: 'search',
|
||||
label: 'collection.page.browse.search.head',
|
||||
routerLink: comColRoute,
|
||||
});
|
||||
} else if (this.contentType === 'community') {
|
||||
comColRoute = getCommunityPageRoute(this.id);
|
||||
allOptions.push({
|
||||
id: 'search',
|
||||
label: 'collection.page.browse.search.head',
|
||||
routerLink: comColRoute,
|
||||
});
|
||||
allOptions.push({
|
||||
id: 'comcols',
|
||||
label: 'community.all-lists.head',
|
||||
routerLink: comColRoute,
|
||||
routerLink: `${comColRoute}/subcoms-cols`,
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user