|
|
@ -189,6 +189,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.Index do
|
|
|
|
"title" ->
|
|
|
|
"title" ->
|
|
|
|
Metadata.search_book!(
|
|
|
|
Metadata.search_book!(
|
|
|
|
search_query,
|
|
|
|
search_query,
|
|
|
|
|
|
|
|
load: [:brief_description],
|
|
|
|
query: [sort_input: sort_by],
|
|
|
|
query: [sort_input: sort_by],
|
|
|
|
page: page_params ++ [count: true],
|
|
|
|
page: page_params ++ [count: true],
|
|
|
|
actor: actor
|
|
|
|
actor: actor
|
|
|
@ -198,6 +199,7 @@ defmodule DecentralisedBookIndexWeb.BookLive.Index do
|
|
|
|
Metadata.search_book_by_bid!(
|
|
|
|
Metadata.search_book_by_bid!(
|
|
|
|
type,
|
|
|
|
type,
|
|
|
|
search_query,
|
|
|
|
search_query,
|
|
|
|
|
|
|
|
load: [:brief_description],
|
|
|
|
query: [sort_input: sort_by],
|
|
|
|
query: [sort_input: sort_by],
|
|
|
|
page: page_params ++ [count: true],
|
|
|
|
page: page_params ++ [count: true],
|
|
|
|
actor: actor
|
|
|
|
actor: actor
|
|
|
|