Search API: use a single query with result and count
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
type InventaireSearchResult struct {
|
||||
Results []InventaireSearchBook `json:"results"`
|
||||
Total int `json:"total"`
|
||||
Total int64 `json:"total"`
|
||||
}
|
||||
|
||||
type InventaireSearchBook struct {
|
||||
|
||||
Reference in New Issue
Block a user