Skip to content

Commit

Permalink
aggreagations: fix bug on list bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
jrcastro2 authored and kpsherva committed May 4, 2023
1 parent ed186fd commit 850ac44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_stats/aggregations.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def list_bookmarks(self, start_date=None, end_date=None, limit=None):
if start_date:
range_args["gte"] = format_range_dt(start_date, self.agg_interval)
if end_date:
range_args["lte"] = format_range_dt(end_date)
range_args["lte"] = format_range_dt(end_date, self.agg_interval)
if range_args:
query = query.filter("range", date=range_args)

Expand Down

0 comments on commit 850ac44

Please sign in to comment.