Groups autocomplete in admin broken?


(Tom Newsom) #1
  1. I open a user’s Admin page
  2. I type a group name into the Custom Group field
  3. The autocomplete list pops up
  4. The first group in the list is highlighted, while the desired group is underlined
  5. Hitting enter selects the highlighted group, not the one I was typing.

(Dean Taylor) #2

I wish this list filtered as you typed. :pray: :star2:


(Dean Taylor) #3

I’ve created a pull request which I believe will add filtering…

It’s going to need testing / checking by someone else before being accepted as pull request as I don’t have a development environment setup.


(Tobias Eigen) #4

thanks for pointing this out - I have been meaning to mention it. I have alot of groups on my site and having it autocomplete and autofilter will be a big help.


(Dean Taylor) #5

A development note:

I noted that this code uses a now deprecated select2 option called query. This might want to be added to a todo list of some kind.


(Dean Taylor) #6

@Tom_Newsom with these results being filtered now, for me this works as expected. Does this cover your request completely?


(Tom Newsom) #7

Works perfectly :slight_smile: Thanks!


(Sam Saffron) #8