Add filter on book index
This commit is contained in:
parent
e0ef3229ab
commit
673fd2c58a
4 changed files with 155 additions and 36 deletions
|
|
@ -36,7 +36,7 @@ pub async fn index(
|
|||
.context(UserSnafu)?;
|
||||
|
||||
let books = BookOperator::new(state.clone())
|
||||
.list()
|
||||
.list(None)
|
||||
.await
|
||||
.context(BookSnafu)?;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue