From a09dd582e5433e0bdc34b907b73e62ec8cdb4bae Mon Sep 17 00:00:00 2001 From: Inhji Date: Wed, 16 Aug 2023 22:39:46 +0200 Subject: [PATCH] fix bookmarks --- lib/chiya/notes.ex | 2 +- lib/chiya_web/controllers/page_html/bookmarks.html.heex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chiya/notes.ex b/lib/chiya/notes.ex index ed0af2b..0b14264 100644 --- a/lib/chiya/notes.ex +++ b/lib/chiya/notes.ex @@ -12,7 +12,7 @@ defmodule Chiya.Notes do :images, :links_from, :links_to, - :tags, + tags: [:notes], comments: from(c in NoteComment, order_by: [ diff --git a/lib/chiya_web/controllers/page_html/bookmarks.html.heex b/lib/chiya_web/controllers/page_html/bookmarks.html.heex index c37f34b..9024402 100644 --- a/lib/chiya_web/controllers/page_html/bookmarks.html.heex +++ b/lib/chiya_web/controllers/page_html/bookmarks.html.heex @@ -2,7 +2,7 @@
<.header> Bookmarks - <:subtitle><%= Enum.count(@notes) in total %> + <:subtitle><%= Enum.count(@notes) %> in total