diff --git a/src/main/java/org/ntlab/citrusserver/resources/PublicBooksRest.java b/src/main/java/org/ntlab/citrusserver/resources/PublicBooksRest.java index 0ca017f..192022f 100644 --- a/src/main/java/org/ntlab/citrusserver/resources/PublicBooksRest.java +++ b/src/main/java/org/ntlab/citrusserver/resources/PublicBooksRest.java @@ -51,7 +51,7 @@ } else if(search_account_id != null) { //アカウントIDのみでの検索 return publicBookManager.searchBooksByAccount(search_account_id, sort_by); } else { //タイトルもアカウントIDもない場合(すべての本を返す) - return publicBookManager.getAllPublicBooks(); + return publicBookManager.getAllPublicBooks(sort_by); } } }