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

filter out duplicate search results #13

Open
liblit opened this issue Jan 2, 2014 · 0 comments
Open

filter out duplicate search results #13

liblit opened this issue Jan 2, 2014 · 0 comments

Comments

@liblit
Copy link

liblit commented Jan 2, 2014

My ~/.ssh/config mentions several hosts by name. Each of these generally appears in ~/.ssh/known_hosts as well. The extension finds both mentions, includes both in its search results, and therefore the same host appears twice when I search in GNOME Shell. That is not very useful, since selecting either will do exactly the same thing.

Perhaps GNOME Shell should be removing duplicates? It isn’t, and I don’t know if it ever promised that it would. Barring a change there, this extension should filter out duplicates itself. Presumably this would happen somewhere near the end of _getResultSet, by modifying the results array just before calling setResults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant