Browse Source

Match queries against bookmark urls as well as titles

master
Anthony Restaino 10 years ago
parent
commit
9f3107c486
  1. 4
      src/acr/browser/lightning/SearchAdapter.java

4
src/acr/browser/lightning/SearchAdapter.java

@ -180,6 +180,10 @@ public class SearchAdapter extends BaseAdapter implements Filterable { @@ -180,6 +180,10 @@ public class SearchAdapter extends BaseAdapter implements Filterable {
filter.add(mAllBookmarks.get(n));
mBookmarks.add(mAllBookmarks.get(n));
counter++;
} else if (mAllBookmarks.get(n).getUrl().contains(query)) {
filter.add(mAllBookmarks.get(n));
mBookmarks.add(mAllBookmarks.get(n));
counter++;
}
}

Loading…
Cancel
Save