bueltge / Chosen-for-MantisBT

Chosen for MantisBT add the jQuery plugin Chosen that makes long, unwieldy select boxes much more user-friendly.
http://bueltge.github.io/Chosen-for-MantisBT/
MIT License
3 stars 1 forks source link

Only works with whole strings #8

Closed realmofevil closed 4 years ago

realmofevil commented 5 years ago

If you type a part of the string you are looking for, it won't work. Also, I've found this one here https://www.allphptricks.com/select-box-with-search-option-using-jquery/ which does search for incomplete parts in the strings and thought you might want to see it.

bueltge commented 5 years ago

The plugin is no addon for the search, don't change the search query or similar. The plugin enhance the select areas, boxes for better user experience.

Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly. SO I'm not sure what you mean in the context of the plugin?

realmofevil commented 5 years ago

I meant that if you type, e.g. a partial username or something else in a select box - it won't work unless you type the string with its starting characters. If you want to find "username" you can't do it by typing just "name", you have to type "user". So I guess I will have to make it into a new plugin myself?

bueltge commented 5 years ago

Yes, I understand that. However is it not a part of the plugin to enhance the search query. The idea is great, you should create a plugin for Mantis. But which version do you use?

realmofevil commented 4 years ago

I'm using MantisBT 2.22.0 at the moment and your plugin seems to be working fine with it. At least from the brief testing I did.

Okay, will try and see what happens with the search feature in a new plugin.