ProjectSidewalk / SidewalkWebpage

Project Sidewalk web page
http://projectsidewalk.org
MIT License
84 stars 24 forks source link

Filtering doesn't work on 'Role' field in admin interface #1765

Open jonfroehlich opened 5 years ago

jonfroehlich commented 5 years ago

I'd like to be able to filter on Role via the 'Search' box--so, for example, I can view only those users who are 'Registered.' This doesn't currently work.

image

arohan-agate commented 7 months ago

Is this referring to the leaderboard? I haven't seen this before

jonfroehlich commented 7 months ago

This is the users tab of the admin interface

misaugstad commented 4 months ago

Sounds like we would need to write a custom search function to make this work. There is support for this in DataTables, which is what we are using out of the box for search right now, it's just searching all the way through the DOM to find everything in the drop-down menu and therefore including everything in the results.: https://datatables.net/reference/api/search()

@nehaa2426 turns out that this is probably a bit too complicated for an early task, I'll assign you something else.