diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d7a47888..15ec4614a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ at anytime. * Linux default downloads folder changed from `~/Downloads` to `XDG_DOWNLOAD_DIR` * Linux folders moved from the home directory to `~/.local/share/lbry` * Windows folders moved from `%AppData%/Roaming` to `%AppData%/Local/lbry` + * Changed `claim_list_by_channel` to return the `claims_in_channel` count instead of the `claims_in_channel_pages` count ### Added * Add link to instructions on how to change the default peer port diff --git a/docs/cli.md b/docs/cli.md index a838c683d..29ff1a626 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -191,7 +191,7 @@ Returns: If there was an error: 'error': (str) error message - 'claims_in_channel_pages': total number of pages with results, + 'claims_in_channel': the total number of results for the channel, If a page of results was requested: 'returned_page': page number returned, diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index 96f3968fe..7b1d0b964 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -2019,7 +2019,7 @@ class Daemon(AuthJSONRPCServer): If there was an error: 'error': (str) error message - 'claims_in_channel_pages': total number of pages with results, + 'claims_in_channel': the total number of results for the channel, If a page of results was requested: 'returned_page': page number returned, @@ -2077,7 +2077,7 @@ class Daemon(AuthJSONRPCServer): results[u] = resolved[u] else: results[u] = { - 'claims_in_channel_pages': resolved[u]['claims_in_channel_pages'] + 'claims_in_channel': resolved[u]['claims_in_channel'] } if page: results[u]['returned_page'] = page