apache / apache/ponymail

Bug: stats.lua option &dfrom=nnn&dto=mmm does not work

Open
#531 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
80
Forks
32
PR merge metrics
No merged PRs in 30d

Description

The following section:

https://github.com/apache/incubator-ponymail/blob/3cf690f6ab23e473542e08c56960fa2117da9e29/site/api/stats.lua#L190-L192

means that the previous section which processes &dfrom=nnn&dto=mmm no longer works; the daterange values will always be overridden

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with site/api/stats.lua, especially lines 190-192 and the preceding section that processes dfrom and dto. Trace how the daterange values are assigned, then verify that explicitly supplied date options are no longer overridden when the stats API handles a request.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.