EPrints Technical Mailing List Archive
Message: #03904
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Sorting records in the browse views
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Sorting records in the browse views
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Tue, 10 Feb 2015 11:42:57 +0000
No worries – I’ll take all the credit (for copying and sharing a chunk of pre-existing text from our repo config)! Alan From: Budden,
Yvonne [mailto:Y.C.Budden@warwick.ac.uk] Hi Alan, Many thanks! This has worked like a charm
J Thanks again, Yvonne From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles Hi Yvonne, Try this in the first line of your variations variations => [ "date;truncate=4,reverse", … Alan From: Budden,
Yvonne [mailto:Y.C.Budden@warwick.ac.uk]
Hi All, Potentially easy question for everyone! We have long had a function to browse the publication in our repository by Researcher (http://wrap.warwick.ac.uk/view/author_id/) and these
views have worked very well as tools for staff members and repository staff as a quick view of how up to date a person’s list might be. However some of these lists are now getting extremely unwieldy due to the sheer number of publications we have, so I’m looking to introduce a few variations into the browse lists. Now I’ve easily managed the options to add sorting by Research
Funder and Item Type but the one people really want is to sort by Year. I have managed sort by date but that uses the full date rather than just the year. Can anyone let me know the best way to do this – the example below is as far as I have got but will
sort by the full date rather than year: id => "author_id", allow_null => 0, hideempty => 1, menus => [ { fields => [ "creators_browse_id" ], new_column_at => [1, 1], mode => "sections", open_first_section => 1, group_range_function => "EPrints::Update::Views::cluster_ranges_30", grouping_function => "EPrints::Update::Views::group_by_a_to_z", } ], order => "-date/title", include => 1, variations => [ “date;reverse”, “type”, “funder”, “DEFAULT”, ], I have tried using “date;res:year,reverse” but this produces an error! Many thanks for any help people can give! Best, Yvonne Mrs Yvonne Budden, Scholarly Communications Manager, University of Warwick Chair:
UK Council of Research Repositories (UKCoRR) Email:
y.c.budden@warwick.ac.uk | Tel: +44 2476
1 51275 | University of Warwick Library, Gibbet Hill Road, Coventry. CV4 7AL To be eligible for submission to the post-2014 REF, authors’ final peer-reviewed manuscripts of journals and conference papers must have been deposited in an institutional or subject
repository within three months of acceptance for publication. HEFCE Policy for open access in the post-2014 Research Excellence Framework Research Support:
http://go.warwick.ac.uk/lib-researchers
Open Access Support:
http://go.warwick.ac.uk/lib-researchers/open-access
Warwick Research Archive Portal (WRAP):
http://wrap.warwick.ac.uk
-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland
(SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
|
- References:
- [EP-tech] Sorting records in the browse views
- From: "Budden, Yvonne" <Y.C.Budden@warwick.ac.uk>
- [EP-tech] Re: Sorting records in the browse views
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Re: Sorting records in the browse views
- From: "Budden, Yvonne" <Y.C.Budden@warwick.ac.uk>
- [EP-tech] Sorting records in the browse views
- Prev by Date: [EP-tech] Re: Sorting records in the browse views
- Next by Date: [EP-tech] Errors on generate_views after 3.3.12 to 3.3.13 upgrade
- Previous by thread: [EP-tech] Re: Sorting records in the browse views
- Next by thread: [EP-tech] Eprints as a OAI-PMH Data Harvester -may be missing Perl Module
- Index(es):