Hi, At this time, in DSpace 8, it's not configurable to change the default tab for Communities & Collections. However, I think it'd be possible to change in code (I have to admit though that I haven't tested this myself)
The code which decides the tab ordering is all in "comcol-page-browse-by.component.ts" in the "ngOnInit()" method: https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts#L90 In that method, you can see it uses different tabs for "collection" vs "community". The collection starts with a "search" tab, but then has other browse-by tabs (there is no "Subcommunities and Collections") * Search tab: https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts#L99-L103 * All other browse by tabs after that: https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts#L118-L122 The community starts with the "search" tab, followed by "comcols" (Subcommunities & Collections) followed by all other browse tabs: * Search tab: https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts#L106-L110 * ComCols tab: https://github.com/DSpace/dspace-angular/blob/dspace-8_x/src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts#L111-L115 * (Uses the same set of browse by options as collections) So, you might be able to just reorder the tabs in this page to get the behavior you want. But, there is no configuration to do this at this time. If you'd rather, you can also submit a ticket (https://github.com/DSpace/dspace-angular/issues*) * to request a way to configure this. Then, we'd search for a volunteer who is willing to work on adding such a configuration (as all development for DSpace is done by volunteers). Hopefully that's helpful! Tim On Wednesday, June 26, 2024 at 6:26:33 AM UTC-5 cherni...@gmail.com wrote: > In DSpace 8.0 all Community and Collection pages now include a "Search" > tab. Is it possible or to completely disable this tab or at least make it > non-default? I want the "Subcommunities and Collections" tab to open by > default, not a "Search" tab. > > Thanks. > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/5edb8d90-91bd-4cc7-93d8-80725d9c7a58n%40googlegroups.com.