WUQuery's LastNDays parameter seems to be ignored

Description

When WUQuery request is submitted with LastNDays set to a 'number', it does not return the workunits in the last 'number' days.

 

I.e if the LastNDays parameter is set to '1', it does not return workunit from the last 1 day as expected by return all workunits.

Note that in EclWatch, there seems to be a work around: if the LastNDays parameter is provided, it calculates the date range for the last 'n' days and provides the date range in StartDate and EndDate parameter.

Conclusion

None

Activity

Show:

Kanghua Wang January 25, 2018 at 8:58 PM

I may deprecated the LastNDays since it never works and the WUQuery already has the StartDate filter  and the EndDate filter.

Shamser Ahmed January 8, 2018 at 12:00 PM

typo in description:  if the LastNDays parameter is set to '1', it does not return workunits from the last 1 day as expected but seems to ignore the parameter and returns all workunits.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Minor

Fix versions

Pull Request URL

Affects versions

Created January 8, 2018 at 11:59 AM
Updated February 26, 2018 at 10:08 AM
Resolved February 26, 2018 at 10:08 AM