Issue298

Title realname search should be case insensitive
Priority bug Status chatting
Superseder Nosy List amaury.forgeotdarc, ezio.melotti, loewis, r.david.murray
Assigned To ezio.melotti Topics

Created on 2009-09-17.00:45:31 by r.david.murray, last changed 2010-08-10.18:54:40 by ezio.melotti.

Messages
msg1780 (view) Author: ezio.melotti Date: 2010-08-10.18:54:40
MVL suggested to add a case-insensitive UserSearch action in extensions/. There's already a similar action in extensions/search_id.py. Once the extension is done, it should be enough to change the URL in the interface to use action=usersearch.
The stringFind method in rdbms_common.py can be used to do the case-insensitive search.
msg1747 (view) Author: ezio.melotti Date: 2010-07-30.16:15:21
I looked at this but I can't find any easy solution. AFAIU the value is passed as is to the database and the query is probably generated automatically. I couldn't find where exactly this happens but I suspect that making the query case-insensitive would affect all the fields, and it might also need to be special cased for user search if there is a common entry point for all the queries.
msg1520 (view) Author: amaury.forgeotdarc Date: 2010-01-25.08:18:20
Sorry, it's here:
http://bugs.python.org/user?@sort=username
msg1518 (view) Author: loewis Date: 2010-01-25.07:11:41
In what field can you search for realname? AFAICT, roundup only supports searching for username.
msg1515 (view) Author: amaury.forgeotdarc Date: 2010-01-22.08:37:23
I just got the same issue.
msg1459 (view) Author: r.david.murray Date: 2009-09-17.00:45:31
When searching for someone by realname, it would be best if the search were case
insensitive, since people (and languages) are not consistent about how they
capitalize their names.  Nor does the search page indicate that the search is
case sensitive.
History
Date User Action Args
2010-08-10 18:54:40ezio.melottisetassignedto: ezio.melotti
messages: + msg1780
2010-07-30 16:15:22ezio.melottisetnosy: + ezio.melotti
messages: + msg1747
2010-01-25 08:18:21amaury.forgeotdarcsetmessages: + msg1520
2010-01-25 07:11:41loewissetnosy: + loewis
messages: + msg1518
2010-01-22 08:37:24amaury.forgeotdarcsetstatus: unread -> chatting
nosy: + amaury.forgeotdarc
messages: + msg1515
2009-09-17 00:45:31r.david.murraycreate