Trim search keyword in User Search / Admin Panel


(Anton) #1

This is a tiny improvement proposal.

If you search a user by an email with no trailing spaces, it works just fine:

However, it finds nothing if a space is added:

A simple improvement would be to trim user input before carrying the search.

Trailing spaces / tabs / etc may easily be inserted when copypasting an email address from somewhere.


(Régis Hanol) #2

Just pushed a fix :banana:


(Régis Hanol) #3

This topic was automatically closed after 12 hours. New replies are no longer allowed.