We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fa22d1 commit cf05977Copy full SHA for cf05977
1 file changed
public/assets/js/admin/users.js
@@ -62,7 +62,7 @@ UsersCrud.prototype = Object.create(BasicCrud.prototype);
62
UsersCrud.prototype.constructor = UsersCrud;
63
64
UsersCrud.prototype._buildFilters = function () {
65
- var term = encodeURIComponent(this.searchTerm);
+ var term = encodeURIComponent(this.searchTerm.trim());
66
return 'filter=first_name=@'+term+',last_name=@'+term+',email=@'+term+',full_name=@'+term;
67
};
68
0 commit comments