One day i needed to configure search fields of UserSocialAuth like this:
search_fields = ['=userid', '^useremail', '=uid']
I found the setting _ADMIN_USER_SEARCHFIELDS, but it was very limited. It does not allow to do restrictive searches, using by prefix the field name with an operator.
Also, since the setting has related to User model, you can't search by the other models fields.
I've added new setting ADMIN_SEARCH_FIELDS. Please, review!
One day i needed to configure search fields of UserSocialAuth like this:
I found the setting _ADMIN_USER_SEARCHFIELDS, but it was very limited. It does not allow to do restrictive searches, using by prefix the field name with an operator.
Also, since the setting has related to User model, you can't search by the other models fields.
I've added new setting ADMIN_SEARCH_FIELDS. Please, review!