Places import: LEFT JOIN correctly to pick up unvisited pages.
This commit is contained in:
parent
3ea4a523a9
commit
f92e2d9322
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