Update to add the search actor for the Author and Publisher Index LiveViews.

This commit is contained in:
2025-04-26 18:53:07 +03:00
parent f1f0b77954
commit 1c7fce1d3f
2 changed files with 2 additions and 0 deletions
@@ -64,6 +64,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Index do
search_query, search_query,
query: [sort_input: sort_by], query: [sort_input: sort_by],
page: page_params ++ [count: true], page: page_params ++ [count: true],
actor: socket.assigns.current_user
) )
socket = socket =
@@ -75,6 +75,7 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.Index do
search_query, search_query,
query: [sort_input: sort_by], query: [sort_input: sort_by],
page: page_params ++ [count: true], page: page_params ++ [count: true],
actor: socket.assigns.current_user
) )
socket = socket =