-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
The ticketgraph will show the last 90 days by default which is perfectly fine. But you are able to enter bigger numbers like 10000. In my test I could not go further than 738632 on https://core.trac.wordpress.org/ticketgraph?days=738632. Amazing to see the bunch of closed tickets around the year 200! I'd expect the graph to simply show all he has instead of going back in time, if you enter numbers like these.
Regarding Ticket: https://core.trac.wordpress.org/ticket/58388
They told me to come here.
Looks like this can easily be patched around
\ticketgraph\ticketgraph.py, L. 98
days_back = req.args.getint('days', self.default_daysback)
by something like
max_days_back = 3000 # Maximum number of days allowed
days_back = req.args.getint('days', self.default_daysback)
if days_back > max_days_back:
days_back = max_days_back
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels