29th / personnel-v3

Personnel management system version 3
https://www.29th.org
2 stars 6 forks source link

User dropdown searches inactive users #191

Closed wilson29thid closed 9 months ago

wilson29thid commented 9 months ago

Previously, the user dropdown only showed active users. This posed a problem when trying to do something to an inactive user, e.g. re-enlist a retired member, or modify an old user_award for a user who's been discharged.

This feature shows all users in the dropdown, and lets you search them. It uses ajax so it's pretty fast and efficient.

It might turn out that we're showing too many users, e.g. should we really show the users who've enlisted but not been accepted? Should we show all users every time?

It includes some details about active and discharged users, in hopes of being able to differentiate.