[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Alphabetically sort a view
Dear all,
I have an installation of eprints in which there is this field:
{
'name' => 'cds',
'type' => 'subject',
'multiple' => 1,
'top' => 'cds',
'browse_link' => 'cds',
'search_rows'=>'5',
}
in eprint_fields.pl
Now I'm trying to modify this view to sort list of cds alphabetically in views.pl:
{
id=>"cds",
allow_null=>0,
fields=>"cds,-discussion_date;res=year",
hideempty => 1,
order=>"creators_name/title",
variations => [
"creators_name;first_letter",
"relatore", "indirizzo","orientamento","DEFAULT"
],
noindex => 0,
nolink=>0,
hideup=>1
}
I've understand that "fields=>"cds,-discussion_date;res=year" is deprecated in eprints 3 from this wiki page:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FViews.pl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd3d85a9ddcdc449b221e08d85a49a743%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=CxfLJZmUgHfR5q8WVUKeXkc%2FpFPRGWhmTnYbJp7pYWw%3D&reserved=0
But I don't understand how "variations" and "order" works and how I could modify their to achieve my aim.
Could anyone suggest other documentations or websites about eprints 3?
Thank you very much
Regards
Antonio
----------------------------------------------------------------------
Antonio Fracasso
ABIS - Unit? di processo Gestione e sviluppo della biblioteca digitale d'Ateneo - AlmaDL
Alma Mater Studiorum - Universit? di Bologna
via Quirico Filopanti 7, Bologna
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsba.unibo.it%2Fit%2Falmadl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd3d85a9ddcdc449b221e08d85a49a743%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=WiKP70TUugb8UhxP9p%2Bj5HiMg2aOdIc6iS6Kpee2WeM%3D&reserved=0
Tel: 0512094019
Mobile: 3351831667
Skypeme: antonio.fracasso
Linkedin: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fcyanto&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd3d85a9ddcdc449b221e08d85a49a743%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=RVqPwzL7hXAMF3Q36l6aLKBoBklHmFVxtryb0Ifm4Vk%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fcyanto&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd3d85a9ddcdc449b221e08d85a49a743%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=RVqPwzL7hXAMF3Q36l6aLKBoBklHmFVxtryb0Ifm4Vk%3D&reserved=0>
Blog: antoniofracasso.net<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fantoniofracasso.net%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd3d85a9ddcdc449b221e08d85a49a743%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ttdnan0iwOVNtXlmcyBby3XG3eHDsPR0zAsiz40Ot0c%3D&reserved=0>
---------------------------------------------------------------------
"Non importa quanto corri, ma dove corri e perch? corri.?
Zden?k Zeman
Rassegna di video 'L'Universit? di Bologna per l'open access e l'open science'<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsba.unibo.it%2Fit%2Falmadl%2Fopen-access-e-open-science%2Fvideorassegna&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd3d85a9ddcdc449b221e08d85a49a743%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=cOGEPfw7YysgkKIjPhsVwSJS2v8xu2a4Sjt2AHwfDf0%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200916/a4d5e677/attachment.html