-
Notifications
You must be signed in to change notification settings - Fork 185
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
chromeIPass search for partial match #696
Comments
UPDATE cipAutocomplete.onSource = function (request, callback) {
var matches = cIPJQ.map( cipAutocomplete.elements, function(tag) {
if ( tag.label.toUpperCase().indexOf(request.term.toUpperCase()) >= 0 ) {
return tag;
}
});
callback(matches);
} Is there a deliberate reason for making the index=0-check? Otherwise I'll make this into a PR. I'll try and make this change conditional and create a setting in the options page to allow for both strict/username only searches or any part of the KeePass entry. |
I'm missing an option where the search would return all results where part of the username/title matches the typed characters (
*searchstring*
). And not only results, starting at position 1 (searchstring*
)I was looking at the code and I found the jQuery.autocomplete (v1.11) widget is used. By default this widget should return any matching entry:
source: https://api.jqueryui.com/1.10/autocomplete/
But I can't seem to find where the cIPJQ and jQuery differ and create a PR.
I tried to compare the unminified sources from cIPJQ and jQuery, but due to all the minified function- and variablenames, it's hard to compare.
Or am I looking at the wrong files?
Any suggestions?
The text was updated successfully, but these errors were encountered: