mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1293710 - Activity Stream Highlights: Consider bookmarks without history too. r=ahunt
MozReview-Commit-ID: If6HmIIp7sT --HG-- extra : rebase_source : 4925672e9e1e5f99e2f24739388c43e42b546f69
This commit is contained in:
parent
f8363edb76
commit
e0879f0149
@ -1169,7 +1169,8 @@ public class BrowserProvider extends SharedBrowserDatabaseProvider {
|
||||
DBUtils.qualifyColumn(Bookmarks.TABLE_NAME, Bookmarks.URL) + " = " +
|
||||
DBUtils.qualifyColumn(History.TABLE_NAME, History.URL) + " " +
|
||||
"WHERE " + DBUtils.qualifyColumn(Bookmarks.TABLE_NAME, Bookmarks.DATE_CREATED) + " > " + threeDaysAgo + " " +
|
||||
"AND " + DBUtils.qualifyColumn(History.TABLE_NAME, History.VISITS) + " <= 3 " +
|
||||
"AND (" + DBUtils.qualifyColumn(History.TABLE_NAME, History.VISITS) + " <= 3 " +
|
||||
"OR " + DBUtils.qualifyColumn(History.TABLE_NAME, History.VISITS) + " IS NULL) " +
|
||||
"AND " + DBUtils.qualifyColumn(Bookmarks.TABLE_NAME, Bookmarks.IS_DELETED) + " = 0 " +
|
||||
// TODO: Implement block list (bug 1298783)
|
||||
"ORDER BY " + DBUtils.qualifyColumn(Bookmarks.TABLE_NAME, Bookmarks.DATE_CREATED) + " DESC " +
|
||||
|
Loading…
Reference in New Issue
Block a user