Hi OK, I know how to add sort field to browse or search, but I want to change the default sort order of communities and colletions on the homepage for example
Ben Parkes a következőt írta (2024. március 19., kedd, 12:07:06 UTC+1): > Hello, > > > > I had a similar issue sorting search results and browse by lists by date > accessioned and not date created. This was done by creating a custom <bean> > in discovery.xml to use as a search field and filter: > > https://wiki.lyrasis.org/display/DSDOC7x/Discovery > > > > Best, > > Ben > > > > ____________________________ > > Ben Parkes > > Lead SCURL Developer | Digital Library Software Developer > > Digital Library, Library & University Collections, University of Edinburgh > > Argyle House, Lady Lawson Street, Edinburgh EH3 9DR > > Pronouns: He, him, his > > > > > > *From: *[email protected] <[email protected]> on > behalf of [email protected] <[email protected]> > *Date: *Monday, 4 March 2024 at 10:19 > *To: *DSpace Community <[email protected]> > *Subject: *[dspace-community] dSpace 7 angular - how to change sortField > of communities/collections from dc.title to another one > > *This email was sent to you by someone outside the University.* > > You should only click on links or attachments if you are certain that the > email is genuine and the content is safe. > > We have been developing dSpace based repositories for 12 years, but now we > have a problem, we can’t solve. > > This angular is brand new for us, thus we have to rewrite all our former > changes we did formerly in dSpace both frontend and backend. > > So, our Community/Collection structure and list should cover the > institutional logic, not the strict alphabetical order. > > It was easy to change until 6.x, where we changed the default sort field > in CommunityServiceImpl.java and CollectionServiceImpl.java from dc.title, > to dc.description.abstract and we hid the short description field in list, > but wrote codes into it, according to our sort intentions. > > But now, I can’t find a solution, neither changes in backend, nor in > frontend files won’t help. > > I have tried everthing, I have changed all dc.title field I found in ts > and config files to dc.descrtiption.abstract, but nothing, I did the > changes in java files written above. > > Of course I rebuilt backend, frontend and restarted angular even I > reindexed solr. > > Dont’ you have an idea, how to change? > > -- > 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 Community" 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-community/f566a91f-8459-49a7-960b-6e9ecec60375n%40googlegroups.com > > <https://groups.google.com/d/msgid/dspace-community/f566a91f-8459-49a7-960b-6e9ecec60375n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > The University of Edinburgh is a charitable body, registered in Scotland, > with registration number SC005336. Is e buidheann carthannais a th’ ann an > Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336. > -- 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 Community" 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-community/09b569cc-9119-464f-bbb0-739584c2f152n%40googlegroups.com.
