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