[EP-tech] [EXTERNAL] Re: grouping by date in browse views

Ranju Upadhyay Ranju.Upadhyay at mu.ie
Fri Apr 23 12:05:06 BST 2021


CAUTION: This e-mail originated outside the University of Southampton.
Thanks David, I will try that.

Best regards
Ranju


Ranju Upadhyay Rai
Library Programmer
University Library

Ollscoil Mhá Nuad, Maigh Nuad, Co. Chill Dara, Éire, W23 VP22
Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22
[cid:71987c5a-b198-48f5-b539-777f10b970d1]
T: +353 1 708 3378  M: +353 87 98 43811
Ranju.Upadhyay at mu.ie<mailto:YourEmailHere at nuim.ie> W: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Flibrary&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104316683%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=2CAkG5%2BBs08H%2B0UQ%2FpInqOtVupB26%2FWx8kYeFwXzoy0%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104316683%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=iQEhGK04SikwUO%2FLdF7MPiYyrnLq9RSn%2FCaTvX2Ewpw%3D&amp;reserved=0>


All personal data received by the Library will be held safely and securely in compliance with the EU General Data Protection Regulation (GDPR) and the Data Protection Act (Ireland) 2018. The Library may retain personal data for operational, statistical and archival purposes. For further information please consult the University's Data Protection Policy: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104316683%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=xy0VjapH267Kll277w5MZFuJhgGXff8a7DfxjtrDsOs%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hX1zQZVHb5Q5ZBbBLEv8gIfHB5ib40jET%2BAMoM3dBno%3D&amp;reserved=0> or contact the MU Data Protection Officer, at dataprotection at mu.ie<mailto:dataprotection at mu.ie>.



An t-eolas pearsanta ar fad a fhaigheann an Leabharlann bíonn sé slán agus sabháilte faoina coimirce ar mhaithe le Rialachán Ginearálta maidir le Cosaint Sonraí an Aontais Eorpaigh agus leis an Acht um Chosaint Sonraí (Éire) 2018 a chomhlíonadh. D’fhéadfadh an Leabharlann eolas pearsanta a choimead ar chúiseanna oibríochta, staitistiúil agus cartlainne. Le haghaidh tuilleadh eolais, téigh i gcomhairle le Polasaí  na hOllscoile um Chosaint Sonraí: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hX1zQZVHb5Q5ZBbBLEv8gIfHB5ib40jET%2BAMoM3dBno%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hX1zQZVHb5Q5ZBbBLEv8gIfHB5ib40jET%2BAMoM3dBno%3D&amp;reserved=0> nó téigh i dteagmháil le hOifigeach Cosanta Sonraí na hOllscoile ag dataprotection at mu.ie<mailto:dataprotection at mu.ie>.


________________________________
From: David R Newman <drn at ecs.soton.ac.uk>
Sent: Friday 23 April 2021 11:50
To: eprints-tech at ecs.soton.ac.uk <eprints-tech at ecs.soton.ac.uk>; Ranju Upadhyay <Ranju.Upadhyay at mu.ie>
Subject: [EXTERNAL] Re: [EP-tech] grouping by date in browse views

*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Hi Ranju,


This is non-intuitive, I think you need:



"date;truncate=4,reverse"


The truncate=4 will break off the year (e.g. 2021-04-23 becomes 2021) and the reverse as you might guess reverses the order.  Here is an example of a view using this configuration:


https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Feprints.nottingham.ac.uk%2Fview%2Ftype%2Fconference%3D5Fitem.date.html&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9p3lnK7jsVOU9Xdai2IZhMw9NoZb%2FN0PV%2BZnLMykpQ8%3D&amp;reserved=0


Regards


David Newman


On 23/04/2021 11:20, Ranju Upadhyay via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.
Hi list,

we have been asked to add group by "date" as an additional option on all the views we have. I can do that by adding "date" in the variations section (like below) for each view.

variations => [
                        "creators_name;first_letter",
                        "type",
                        "date",
                        "DEFAULT" ],

This is fine, only thing is the date is in ascending order i.e. oldest one first. We would like it to be the other way i.e. newest one first.

Would anyone know what do I need to do ? I tried using "date;-year"  , thinking this might set the date in reverse order but that does not seem to work.

Any help will be appreciated!

Best regards,
Ranju


Ranju Upadhyay Rai

Library Programmer

University Library



Ollscoil Mhá Nuad, Maigh Nuad, Co. Chill Dara, Éire, W23 VP22

Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22

[cid:part1.F4771EEA.83B3A38B at ecs.soton.ac.uk]

T: +353 1 708 3378  M: +353 87 98 43811

Ranju.Upadhyay at mu.ie<mailto:YourEmailHere at nuim.ie> W: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Flibrary&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3S2TbTT0FIxrjx5dkST%2FsKTWCcwIwT1WSt6k4yNUg7Y%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=d4qeoJ2oKLGZ3Lz%2B8u1l33VyYlq7zFkTLDTOgN19PxE%3D&amp;reserved=0>


All personal data received by the Library will be held safely and securely in compliance with the EU General Data Protection Regulation (GDPR) and the Data Protection Act (Ireland) 2018. The Library may retain personal data for operational, statistical and archival purposes. For further information please consult the University's Data Protection Policy: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hX1zQZVHb5Q5ZBbBLEv8gIfHB5ib40jET%2BAMoM3dBno%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hX1zQZVHb5Q5ZBbBLEv8gIfHB5ib40jET%2BAMoM3dBno%3D&amp;reserved=0> or contact the MU Data Protection Officer, at dataprotection at mu.ie<mailto:dataprotection at mu.ie>.



An t-eolas pearsanta ar fad a fhaigheann an Leabharlann bíonn sé slán agus sabháilte faoina coimirce ar mhaithe le Rialachán Ginearálta maidir le Cosaint Sonraí an Aontais Eorpaigh agus leis an Acht um Chosaint Sonraí (Éire) 2018 a chomhlíonadh. D’fhéadfadh an Leabharlann eolas pearsanta a choimead ar chúiseanna oibríochta, staitistiúil agus cartlainne. Le haghaidh tuilleadh eolais, téigh i gcomhairle le Polasaí  na hOllscoile um Chosaint Sonraí: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hX1zQZVHb5Q5ZBbBLEv8gIfHB5ib40jET%2BAMoM3dBno%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hX1zQZVHb5Q5ZBbBLEv8gIfHB5ib40jET%2BAMoM3dBno%3D&amp;reserved=0> nó téigh i dteagmháil le hOifigeach Cosanta Sonraí na hOllscoile ag dataprotection at mu.ie<mailto:dataprotection at mu.ie>.




*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=DUP9utPZkdH8UCYf%2BF1voi5We5L91uYmEZxqjXsoScA%3D&amp;reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104326645%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=G%2BGoQwUcANVrzu4W3Ywqll3aUQDI49FesOcSBruqrpI%3D&amp;reserved=0

[https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fipmcdn.avast.com%2Fimages%2Ficons%2Ficon-envelope-tick-green-avg-v1.png&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104336606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=J9L7AVD3bKZJfZs5BnaGvSUPiGhwrxZR1Tv3A%2Faevnc%3D&amp;reserved=0]<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104336606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=4bsTRuhmfFGFQ9z5%2Bvvb0D6KA1xupsfLlSe3%2F%2Feh03w%3D&amp;reserved=0> Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104336606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=9yJLnmxbk2fGgECs%2Faqm6GfrTnXLcYKgN9i%2BbbkC0VM%3D&amp;reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7cb102491b914ea7177708d90647a88c%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547727104336606%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=4bsTRuhmfFGFQ9z5%2Bvvb0D6KA1xupsfLlSe3%2F%2Feh03w%3D&amp;reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210423/4f7b0ecb/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-bykx1idr.png
Type: image/png
Size: 9931 bytes
Desc: Outlook-bykx1idr.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210423/4f7b0ecb/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-ijx5mj02.png
Type: image/png
Size: 9931 bytes
Desc: Outlook-ijx5mj02.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210423/4f7b0ecb/attachment-0003.png 


More information about the Eprints-tech mailing list