[EP-tech] Advanced Search, field length limit

martin.braendle at id.uzh.ch martin.braendle at id.uzh.ch
Wed Dec 17 09:47:17 GMT 2014



Dear all,

we have cases where users want to enter very long lists of names in the
creators or creators/editors field in Avanced Search, using an "any"
search.
However, the query is limited or cut at 256 characters, caused by the
maxlength="256" attribute of the input element.

I have deactivated this limit on our development system in
perl_lib/EPrints/Metafield.pm in method "render_search_input" by commenting
line 2201, being aware that this affects all text input fields.
We have tested various query variants and not seen any problem so far.

Before we go live with this change: Is there any reason why this limit was
introduced originally? Any good technical objections to not deactivate it?

Best regards,

Martin

--
Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Winterthurerstr. 190
CH-8057 Zürich

mail: martin.braendle at id.uzh.ch
phone: +41 44 63 56705
fax: +41 44 63 54505
http://www.id.uzh.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20141217/d4150773/attachment.html 


More information about the Eprints-tech mailing list