EPrints Technical Mailing List Archive

Message: #05772

< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Ignores "The" when sorting

Off the top of my head, a couple of options:


·         An automatic field to use as an ordervalue -- https://wiki.eprints.org/w/Training_Video:Automatic_Fields

·         A custom render function on the browse list -- https://www.youtube.com/watch?v=Ap_u7_MCnhI&feature=youtu.be&t=15m59s


The custom render function could simply reorder the list of items then pass it through to the default render function, but you’ll have to experiment for that.  The first option is simpler, the second option more interesting J



Adam Field
SHERPA services analyst developer



From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Michael Street <mstreet@yorku.ca>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Date: Tuesday, 7 June 2016 16:13
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Ignores "The" when sorting




Is there a way to have eprints NOT ignore the word "the" when sorting

titles?  I have a view set up to be ordered by "title/creators_name" but

I would like the titles to be truly sorted by the first letter and not

have the word "the" ignored.


Let me know thanks,


*** EPrints community wiki: http://wiki.eprints.org/

*** EPrints developers Forum: http://forum.eprints.org/



Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.