Graph widget modifies graph interval to 24 hours, no matter what the URL says

Bug #1647664 reported by Morten Brekkevold
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Committed
High
John-Magne Bredal

Bug Description

It appears that under NAV 4.6, the Graph widget will always modify the time interval of graphs, even when the interval buttons are disabled.

If attempting to add a graph with a custom time interval of, say, 3 hours, the displayed graph will always be for the last 24h interval.

Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :
Changed in nav:
status: Confirmed → Fix Committed
Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :

When the buttons for choosing an interval was introduced it also introduced a complexity in that you now have two ways of deciding the interval - either as parameters in the url or by clicking the buttons.

It now works like this:
- If we have timeframe buttons use those for interval
- If we don't have buttons use 'from'-parameter
- If we have neither use default timeframe (which currently is 'day')

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.