EPrints Technical Mailing List Archive
Message: #04908
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: sort order of contributors.Contribution for other languages
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: sort order of contributors.Contribution for other languages
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- Date: Mon, 12 Oct 2015 13:14:24 +0200
Hi, Just an idea. Why not sort the options with a bit of javascript ? It could be easier. http://stackoverflow.com/questions/12073270/sorting-options-elements-alphabetically-using-jquery Le 12/10/2015 11:40, Field A.N. a écrit :
Hi George I believe the order is dependant on the order of the options in the configuration. That is to say, EPrints doesn't sort these, it just lists them as they are configured in https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/namedsets/contributor_type I'm afraid that to sort them, you'll need to create an input rendered :( -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 9 Oct 2015, at 13:17, George Mamalakis wrote:Hi all, In a multilingual EPrints installation, in contributor's fields, the Contribution drop-down field displays the various entries in English, sorted alphabetically. But when the language is changed, the same sort order is kept, which does not help at all in other languages, since the number of entries in the menu is quite large. Is there a way of re-sorting them in the other languages as well? Thanks all in advance, George. -- George Mamalakis IT and Security Officer, Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki), PhD (Aristotle Univ. of Thessaloniki), MSc (Imperial College of London) School of Electrical and Computer Engineering Aristotle University of Thessaloniki phone number : +30 (2310) 994379 *** 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/*** 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/
- References:
- [EP-tech] Errors from event queue
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Re: Errors from event queue
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Re: How to set a field to be multilang (search)
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: How to set a field to be multilang (search)
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: [SOLVED] Re: How to set a field to be multilang (search)
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] sort order of contributors.Contribution for other languages
- From: George Mamalakis <mamalos@eng.auth.gr>
- [EP-tech] Re: sort order of contributors.Contribution for other languages
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Errors from event queue
- Prev by Date: [EP-tech] Re: [SOLVED] Re: How to set a field to be multilang (search)
- Next by Date: [EP-tech] Re: sort order of contributors.Contribution for other languages
- Previous by thread: [EP-tech] Re: sort order of contributors.Contribution for other languages
- Next by thread: [EP-tech] Re: sort order of contributors.Contribution for other languages
- Index(es):