Modify the search functionality in the vars menu to search for partial matches by appending a wildcard (*) to the end of the user's search query.
Example: Before this change, searching for "shotgun" would yield no results if there was no exact match. With this change, searching "shotgun" will display all variables starting with "shotgun".
This enhancement improves usability by allowing users to find variables more flexibly without requiring exact matches.
This change was implemented by adjusting the search query handler to append the wildcard character to search query.
Fixes #1564
Changes proposed in this request:
This change was implemented by adjusting the search query handler to append the wildcard character to search query.