EPrints Technical Mailing List Archive
Message: #04614
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- Date: Tue, 1 Sep 2015 15:26:37 +0100
I would recommend against 'select' because it implies that you've got a select box because of the word you used. Also, in the future if 'select' ever does become a valid option, you may be surprised by unexpected behaviour. I suggested 'default' because it's actually already being used: https://github.com/eprints/eprints/search?utf8=%E2%9C%93&q=search_input_style -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 1 Sep 2015, at 15:23, Gilles Fournié wrote: > Hi, > >> I've made the suggested changes. However, I see in my advanced search languages field is defined as '{ meta_fields => [ "documents.language" ] },' which is not defined in either of the eprint_fields.pl or document_fields.pl in the archive config directory. But I did change our 'degree' field in the eprint_fields.pl to use 'search_input_style' => 'select' (Thanks for the tip Gilles.) and it is now showing as a select list box. So I now see that using the 'search_input_style' change does indeed work. Is there some indication anywhere of what the available options are for this as this is the first time I've run across this? > > From the code, it seems that the only value checked is "checkbox". > > So, I think that we can only use either "checkbox" or anything else. > I have chosen to use "select" but, as Adam wrote, the value "default" > should do the same thing. > > Gilles > *** 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] Advanced Search Page render of large number of choices (such as language).
- From: "Brian D. Gregg" <bdgregg@pitt.edu>
- [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- From: "Brian D. Gregg" <bdgregg@pitt.edu>
- [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- [EP-tech] Advanced Search Page render of large number of choices (such as language).
- Prev by Date: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- Next by Date: [EP-tech] Re: duplicate detection in EPrints 3.3
- Previous by thread: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- Next by thread: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- Index(es):