This commit is contained in:
@@ -47,6 +47,13 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Index do
|
||||
</:action>
|
||||
</.table>
|
||||
|
||||
<.pagination
|
||||
endpoint={~p"/authors"}
|
||||
page={@page}
|
||||
page_params={@page_params}
|
||||
params={@params}
|
||||
/>
|
||||
|
||||
<.modal
|
||||
:if={@live_action in [:new, :edit]}
|
||||
id="author-modal"
|
||||
@@ -85,7 +92,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Index do
|
||||
|
||||
page = Metadata.search_author!(
|
||||
search_query,
|
||||
page: page_params,
|
||||
page: page_params ++ [count: true],
|
||||
)
|
||||
|
||||
socket =
|
||||
|
||||
Reference in New Issue
Block a user