Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix people search on the incidents, bolos, reports pages #441

Merged
merged 6 commits into from
Dec 18, 2023

Conversation

BackSH00TER
Copy link
Contributor

Issue:
When you search for people on the Incidents, BOLOs, or Reports pages, the search requires that you search either FirstName LastName or FIrstName. If you try to search just LastName the search will fail.

When you search for people on the Profile search page, you are able to search with any combination to find people (FirstName, First + Last, Last, citizenId, fingerprint, etc).

This PR makes the search on these sub pages function the same way. Now players will have more flexibility in how they input their search terms and will be able to find results easier.

The fix simply updates the SQL query to use the same terms that the Profile search query is using.

Preview of fix:
incidents profile search fix

@BackSH00TER BackSH00TER added the enhancement New feature or request label Dec 15, 2023
@MonkeyWhisper MonkeyWhisper merged commit 978bb06 into Project-Sloth:main Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants