Skip to content

Commit

Permalink
rollback: report hists not count
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy committed Dec 14, 2024
1 parent b0c5cd0 commit c02763f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion earthaccess/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def search_data(count: int = -1, **kwargs: Any) -> DataGranules:
else:
results = DataGranules().parameters(**kwargs)

logger.info(f"Granules found: {results.hits()}")
results.load(count)
logger.info(f"Granules found: {len(results)}")
return results


Expand Down

0 comments on commit c02763f

Please sign in to comment.