Search with date criteria does not check current date and yields wrong results

Bug #1306254 reported by Southerner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: OCSReports
Fix Released
Undecided
Unassigned

Bug Description

When doing a search by various criteria if I select to search for "OCS Last Contact" I can select a date after the current date as held in the OS/bios. If I select a to search for a date beyond today I should get no results (if it allowed me to search at all). Instead I do get results. Searching for computers that contacted the OCS server after next week should have zero results assuming there is no restrictions on searching beyond today.

Revision history for this message
Southerner (pruittj) wrote :
Revision history for this message
Southerner (pruittj) wrote :

This search was for OCS Last contact after a date next week.

Revision history for this message
Southerner (pruittj) wrote :

This is on OCS for Windows version 2.0.3 running on a Windows 2012R2 server.

Revision history for this message
Southerner (pruittj) wrote :

Also, doing a search for an OCS Last check in date AFTER yesterday AND operating system Equal to Windows XP Professional, I get results going all the way back to the date the database was created.

Revision history for this message
Arthur Jaouen (arthur-z) wrote :

fixed in 2.1

Changed in ocsinventory-ocsreports:
status: New → Fix Committed
Arthur Jaouen (arthur-z)
Changed in ocsinventory-ocsreports:
status: Fix Committed → Fix Released
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.