Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Show bookmarks in history auto-complete #5084

Merged
merged 1 commit into from
Oct 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions js/components/urlBarSuggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,11 @@ class UrlBarSuggestions extends ImmutableComponent {
const title = site.get('title') || ''
const location = site.get('location') || ''
return (title.toLowerCase().includes(urlLocationLower) ||
location.toLowerCase().includes(urlLocationLower)) &&
(!site.get('tags') || site.get('tags').size === 0)
location.toLowerCase().includes(urlLocationLower))
// Note: Bookmkark sites are now included in history. This will allow
// sites to appear in the auto-complete regardless of their bookmark
// status. If history is turned off, bookmarked sites will appear
// in the bookmark section.
}
}))
}
Expand Down