Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Advanced f...
 
Notifications
Clear all

[SOLVED] Advanced filters : issue with comparison operators and date

2 Posts
2 Users
0 Reactions
1,893 Views
Tony
 Tony
(@tony44)
Posts: 131
Active Member
Topic starter
 
[#8350]

Hi,

There seems to be a issue in advanced filters that use certain comparison operators with a date, including :
- The <= operator seems to be considered as < (strictly inferior)
- The = operator never seems to find a result
- The operator does not exclude records corresponding to the specified date
(I have not tested the others)

Reproduced on ProjeQtOr V10.0.1 with tickets (but can be more general).

See examples at https://demo.projeqtor.org/view/main.php , gestionnaire user, in tickets :
- The advanced filter "Date de création <= 25/11/2021" does not display tickets whose creation date is 11/25/2021 (it should) but does display those whose creation date is 11/24/2021.
- The advanced filter "Date de création <= 26/11/2021" does not display tickets whose creation date is 11/26/2021 (it should) but does display those whose creation date is 11/25/2021.

Thanks


Tony44

 
Posted : 06 Jul 2022 1H14
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Hi,
This is because you compare fields that have time with dates without time.
Filter for "Date de création <= 25/11/2021" will be understood as "Date de création <= 25/11/2021 00:00:00" so you won't find tickets created on "25/11/2021 09:00:00"
This may be confusing so we'll look for an upgrade.
Ticket #6323 recorded.


 
Posted : 08 Jul 2022 17H28
Share:

Scroll to Top