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

dev
KKlochko 2 months ago
parent f1f0b77954
commit 1c7fce1d3f

@ -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 =

Loading…
Cancel
Save