[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] grouping by date in browse views
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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063383473%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6A%2BfEEDJPN5KfuIZijy8SPpxQuHazH2uwK3v8aDyBmE%3D&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
>
>
> *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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063383473%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=w4dmzA1wqbRVSekdQsPm34Jsk2ewzR6Ah7Reh3Mp874%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063383473%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IVwM75T1rIoETmbLyNQp89YBCmGQW5ViLIpHb8f3ZmI%3D&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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063383473%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BgYh8Y9OxyZ%2FCOp0DjSeZBd0uN9qYhVu1nV%2Bk67FQ%2Fg%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063393427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aQQtD9ktoUbask9BseYrfIorWO4RNKNh1H9uafeU2Hw%3D&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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063393427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aQQtD9ktoUbask9BseYrfIorWO4RNKNh1H9uafeU2Hw%3D&reserved=0
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2Fdata-protection&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063393427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aQQtD9ktoUbask9BseYrfIorWO4RNKNh1H9uafeU2Hw%3D&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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063393427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Z%2Fy%2FI%2FKW%2B3Dj5xmz27WZFXTqiKMa3%2B%2Frv0aMuJ75qcA%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063393427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bp%2B5bIs2y1kFHCEqFqxuA4PINxbcKXdZhd4miX675fo%3D&reserved=0
--
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ce443627ea13948149bef08d906458d1e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637547718063393427%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GjZukHd3l%2F%2BfFKYRBsj6JyS3JkE%2F6%2BXaux1PHSXktN8%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210423/ea5d6170/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-bykx1idr.png
Type: image/png
Size: 9931 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210423/ea5d6170/attachment-0001.png