Search user : key words with an apostrophe '

Bug and problem reporting on Cyclos 4 version

Moderators: rmvanarkel, hugo, alexandre

Post Reply
cylaosict
Posts: 5
Joined: Wed Aug 02, 2017 11:22 am
Location: France
Contact:

Search user : key words with an apostrophe '

Post by cylaosict »

Dear,

example on : https://mamonnaiecitoyenne.be/lecarolor ... ers.search

In keys words
- if you write: tits (without apostrophe) --> 1 result
- if you write: 'tits (with apostrophe)--> 1 result
if you write: p'tits (with letter p and apostrophe)--> 35 results

It's like the apostrophe ' will be a separator in the request and therefore we have the list of all users with letter p (34 users) and the string tits (1 user)

Best Regards
luis
Posts: 201
Joined: Fri Feb 17, 2006 11:01 am

Re: Search user : key words with an apostrophe '

Post by luis »

Many special characters are actually ignored and handled as spaces.
So, searching for 'tits is the same as tits.
Also, searching for p'tits is the same as p tits, which is the OR of either p or tits, ranking higher the matches with both of them.
Luis Fernando Planella Gonzalez
Cyclos development team
Post Reply