aboutsummaryrefslogtreecommitdiff
path: root/mal/search.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 01:01:45 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 01:01:45 +0530
commite9355deabb849a123670e6678427cf33007d01f1 (patch)
treef86f42e8601536a35c4b26be19bfca7720f51be2 /mal/search.go
parent5ad76ed2e6e67b421c27ff153e2ae348152eaa40 (diff)
showing number of episodes/chapters watched/read when updating them
Diffstat (limited to 'mal/search.go')
-rw-r--r--mal/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mal/search.go b/mal/search.go
index 8fee461..de2c53c 100644
--- a/mal/search.go
+++ b/mal/search.go
@@ -28,7 +28,7 @@ import (
func SearchAnime(searchString string) []a.Anime {
// TODO: read limit, offset from flags
limit, offset := 10, 0
- fields := []string{"title", "id", "my_list_status"}
+ fields := []string{"title", "id", "my_list_status", "num_episodes"}
res, err := animeClient.SearchAnime(searchString, limit, offset, fields)
if err != nil {