[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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 ?

[cid:image001.png at 01D1C189.CA6A75F0]<http://www.jisc.ac.uk/>

Adam Field
SHERPA services analyst developer

From: <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Michael Street <mstreet at yorku.ca>
Reply-To: "eprints-tech at ecs.soton.ac.uk" <eprints-tech at ecs.soton.ac.uk>
Date: Tuesday, 7 June 2016 16:13
To: "eprints-tech at ecs.soton.ac.uk" <eprints-tech at 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,
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** 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.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160608/747f1c0f/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1264 bytes
Desc: image001.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160608/747f1c0f/attachment.png