Forum

[SOLVED] Advanced f...
 
Notifications
Retirer tout

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

2 Posts
2 Utilisateurs
0 Reactions
1,892 Vu
Tony
 Tony
(@tony44)
Posts: 131
Estimable Member
Début du sujet
 
[#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

 
Posté : 06/07/2022 1:14 am
(@babynus)
Posts: 14952
Membre 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.


 
Posté : 08/07/2022 5:28 pm
Share:
Retour en haut