diff --git a/lib/music_library_web/live/collection_live/index.html.heex b/lib/music_library_web/live/collection_live/index.html.heex index a5608dc9..72130c2d 100644 --- a/lib/music_library_web/live/collection_live/index.html.heex +++ b/lib/music_library_web/live/collection_live/index.html.heex @@ -51,7 +51,7 @@ <.link :for={artist <- record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/collection?query=mbid:#{artist.musicbrainz_id}"} + patch={~p"/artists/#{artist.musicbrainz_id}"} > <%= artist.name %> diff --git a/lib/music_library_web/live/collection_live/show.html.heex b/lib/music_library_web/live/collection_live/show.html.heex index f5db27c5..ecc7eeea 100644 --- a/lib/music_library_web/live/collection_live/show.html.heex +++ b/lib/music_library_web/live/collection_live/show.html.heex @@ -12,7 +12,7 @@ <.link :for={artist <- @record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/collection?query=mbid:#{artist.musicbrainz_id}"} + patch={~p"/artists/#{artist.musicbrainz_id}"} > <%= artist.name %> diff --git a/lib/music_library_web/live/stats_live/data_components.ex b/lib/music_library_web/live/stats_live/data_components.ex index 9e6e890a..73fd04f0 100644 --- a/lib/music_library_web/live/stats_live/data_components.ex +++ b/lib/music_library_web/live/stats_live/data_components.ex @@ -29,7 +29,7 @@ defmodule MusicLibraryWeb.StatsLive.DataComponents do <.link :for={artist <- @record.artists} class="text-sm md:text-base lg:text-2xl text-zinc-900 hover:text-zinc-500 dark:text-zinc-300 dark:hover:text-zinc-200" - patch={~p"/collection?query=mbid:#{artist.musicbrainz_id}"} + patch={~p"/artists/#{artist.musicbrainz_id}"} > <%= artist.name %> diff --git a/lib/music_library_web/live/wishlist_live/index.html.heex b/lib/music_library_web/live/wishlist_live/index.html.heex index da06b2f0..86242f48 100644 --- a/lib/music_library_web/live/wishlist_live/index.html.heex +++ b/lib/music_library_web/live/wishlist_live/index.html.heex @@ -51,7 +51,7 @@ <.link :for={artist <- record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/wishlist?query=mbid:#{artist.musicbrainz_id}"} + patch={~p"/artists/#{artist.musicbrainz_id}"} > <%= artist.name %> diff --git a/lib/music_library_web/live/wishlist_live/show.html.heex b/lib/music_library_web/live/wishlist_live/show.html.heex index 254207e6..1e8e21f9 100644 --- a/lib/music_library_web/live/wishlist_live/show.html.heex +++ b/lib/music_library_web/live/wishlist_live/show.html.heex @@ -12,7 +12,7 @@ <.link :for={artist <- @record.artists} class="text-zinc-700 hover:text-zinc-500 dark:text-zinc-400 dark:hover:text-zinc-300" - patch={~p"/wishlist?query=mbid:#{artist.musicbrainz_id}"} + patch={~p"/artists/#{artist.musicbrainz_id}"} > <%= artist.name %>