Places import: LEFT JOIN correctly to pick up unvisited pages.
This commit is contained in:
parent
f85968de88
commit
5ec79f6be3
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@
|
|||
places-connection
|
||||
["SELECT DISTINCT p.id AS id, p.url AS url, p.title AS title, p.visit_count, p.last_visit_date, p.guid,
|
||||
hv.visit_date
|
||||
FROM moz_places AS p LEFT JOIN moz_historyvisits AS hv
|
||||
WHERE p.hidden = 0 AND p.id = hv.place_id
|
||||
FROM moz_places AS p LEFT JOIN moz_historyvisits AS hv ON p.id = hv.place_id
|
||||
WHERE p.hidden = 0
|
||||
ORDER BY p.id, hv.visit_date"]))]
|
||||
(<?
|
||||
(transact/<transact!
|
||||
|
|
Loading…
Reference in a new issue