EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #08319
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Alphabetically sort a view
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Alphabetically sort a view
- From: Antonio Fracasso <antonio.fracasso3@unibo.it>
- Date: Wed, 16 Sep 2020 14:06:04 +0000
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:
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://sba.unibo.it/it/almadl Tel: 0512094019 Mobile: 3351831667 Skypeme: antonio.fracasso Linkedin:
www.linkedin.com/in/cyanto
Blog: antoniofracasso.net --------------------------------------------------------------------- "Non importa quanto corri, ma dove corri e perché corri.“
Zdeněk Zeman
|
- Follow-Ups:
- [EP-tech] Alphabetically sort a view
- From: Antonio Fracasso <antonio.fracasso3@unibo.it>
- [EP-tech] Alphabetically sort a view
- References:
- [EP-tech] Alphabetically sort a view
- From: Antonio Fracasso <antonio.fracasso3@unibo.it>
- [EP-tech] Alphabetically sort a view
- Prev by Date: Re: [EP-tech] Configuring Azure Web Application Firewall (WAF) for eprints
- Next by Date: [EP-tech] TrendTerms in eprints 3.4 Screen::EPrint::Box
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):