Hi, I believe you need to change the "sidebarFacets" under the "defaultConfiguration" (which is the one used by default on the search page) around here in the discovery.xml: https://github.com/DSpace/DSpace/blob/main/dspace/config/spring/api/discovery.xml#L166-L174
The docs on this are here: https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-ConfiguringlistsofsidebarFacetsandsearchFilters And here's how to create a brand new filter/facet: https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-Searchfilters&sidebarfacetsCustomization (There are plenty of examples in the discovery.xml near the bottom) Keep in mind, as it says in the documentation, you will need to do a *full reindex of all content* before the changes will take effect. Tim On Saturday, May 6, 2023 at 2:46:02 PM UTC-5 [email protected] wrote: > In short, Tim: after searching for a term (blue), where in the > discovery.xml (which section) should I change to include a filter (red)? > [image: image.png] > > > > > Em sex., 5 de mai. de 2023 às 12:59, 'Tim Donohue' via DSpace Developers < > [email protected]> escreveu: > >> Hi Aroldo, >> >> As far as I'm aware, adding filters in DSpace 7 should be the same as in >> DSpace 6. While there have been new sections added to the discovery.xml, >> the structure of that file is unchanged. So, the existing documentation >> *should still be accurate* for DSpace 7. If you are finding it is *not* >> accurate, then please do let us know and we can look into it further. >> >> Tim >> >> On Thursday, May 4, 2023 at 8:47:09 PM UTC-5 [email protected] wrote: >> >>> Hey guys! >>> >>> I'm having trouble inserting new filters into dspace 7.5 search. We are >>> migrating a digital repository from version 6 to version 7.5 and, one of >>> our demands is the addition of filters to the filters that already exist, >>> by default, in dspace 7.5. >>> >>> I checked the dspace 6 discovery.xml docs, which is linked >>> https://wiki.lyrasis.org/display/DSDOC6x/Discovery#Discovery-GeneralDiscoverysettings(config/modules/discovery.cfg) >>> >>> with the discovery docs. xml of dspace 7, which is in the link >>> https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-GeneralDiscoverysettings(config/modules/discovery.cfg) >>> >>> and I realized that both are very close. It looks like the dsapce 7.x >>> discovery.xml docs haven't been updated yet. The dspace 7.x discovery.xml >>> is quite different from the dspace 6.x discovery.xml. The presentation of >>> the filters is also quite different. >>> >>> dspace 6: >>> >>> [image: image.png] >>> >>> dspace 7: >>> >>> [image: image.png] >>> >>> Are there any dspace 7 specific documents about filters? Is it possible >>> to add new filters in dspace 7? >>> >>> Aroldo Rique >>> >> -- >> 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 Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/dspace-devel/68c65dd7-4830-4273-9dab-d1e731b428f1n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/dspace-devel/68c65dd7-4830-4273-9dab-d1e731b428f1n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/cb238c5a-efa9-45cb-a478-0b0909442c1bn%40googlegroups.com.
