mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 19:19:23 +08:00
improved Firefox bookmark-parsing query
now gets bookmark title from moz_bookmarks table instead of moz_places
This commit is contained in:
parent
cfe1e7745f
commit
365ca9180f
@ -8,12 +8,12 @@ namespace Wox.Plugin.BrowserBookmark
|
||||
{
|
||||
public class FirefoxBookmarks
|
||||
{
|
||||
private const string queryAllBookmarks = @"SELECT url, title
|
||||
private const string queryAllBookmarks = @"SELECT moz_places.url, moz_bookmarks.title
|
||||
FROM moz_places
|
||||
WHERE id in (
|
||||
SELECT bm.fk FROM moz_bookmarks bm WHERE bm.fk NOT NULL
|
||||
)
|
||||
ORDER BY visit_count DESC
|
||||
INNER JOIN moz_bookmarks ON (
|
||||
moz_bookmarks.fk NOT NULL AND moz_bookmarks.fk = moz_places.id
|
||||
)
|
||||
ORDER BY moz_places.visit_count DESC
|
||||
";
|
||||
|
||||
private const string dbPathFormat = "Data Source ={0};Version=3;New=False;Compress=True;";
|
||||
|
Loading…
Reference in New Issue
Block a user