Browse Source

fix: filter bookmarks by type

master
Inhji Y. 10 months ago
parent
commit
920713aeae
  1. 1
      apps/bookmarks/lib/bookmarks.ex

1
apps/bookmarks/lib/bookmarks.ex

@ -64,6 +64,7 @@ defmodule Bookmarks do
query =
from b in Bookmark,
left_join: t in assoc(b, :tags),
where: b.type == "bookmark",
distinct: true,
preload: ^@preloads,
select: b,

Loading…
Cancel
Save