Add the sorting for Author Index LiveView.
This commit is contained in:
@@ -108,6 +108,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.Index do
|
||||
|
||||
page = Metadata.search_author!(
|
||||
search_query,
|
||||
query: [sort_input: sort_by],
|
||||
page: page_params ++ [count: true],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user