EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04616
< 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" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- From: "Brian D. Gregg" <bdgregg@pitt.edu>
- Date: Tue, 1 Sep 2015 14:45:10 +0000
Adam, Gilles, Thank you both for your replies. I've gone ahead and changed the search_input_style to 'default' instead of 'select' and got the same rendering on the advanced search - perfect. So now we're at least "safe" going forward. Thanks again, Brian Gregg. -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Field A.N. Sent: Tuesday, September 01, 2015 10:27 AM To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language). 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/ *** 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] Re: Advanced Search Page render of large number of choices (such as language).
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Advanced Search Page render of large number of choices (such as language).
- Prev by Date: [EP-tech] Re: duplicate detection in EPrints 3.3
- Next by Date: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- Previous by thread: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- Next by thread: [EP-tech] IRstats2 & MePrints.
- Index(es):