Update to add the search actor for the Author and Publisher Index LiveViews.
This commit is contained in:
@@ -64,6 +64,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Index do
|
||||
search_query,
|
||||
query: [sort_input: sort_by],
|
||||
page: page_params ++ [count: true],
|
||||
actor: socket.assigns.current_user
|
||||
)
|
||||
|
||||
socket =
|
||||
|
||||
@@ -75,6 +75,7 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.Index do
|
||||
search_query,
|
||||
query: [sort_input: sort_by],
|
||||
page: page_params ++ [count: true],
|
||||
actor: socket.assigns.current_user
|
||||
)
|
||||
|
||||
socket =
|
||||
|
||||
Reference in New Issue
Block a user