Is Empty filter not working.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smartinsar
    Member
    • Dec 2021
    • 33

    Is Empty filter not working.

    Hi, can you help me please.

    I have entity Costs with foreign field named CostFilters.

    When I try to use filter Is empty it show me No data.
    If I Re-save any Costs without any changes that has empty field CostFilters, then the only this Costs will show like Is Empty.
    Click image for larger version  Name:	image.png Views:	22 Size:	10.8 KB ID:	101701Click image for larger version  Name:	image.png Views:	14 Size:	59.6 KB ID:	101702​​

    Also Is not empty looks like not working, cause it shows all Costs with/without CostFilters field.

    How can I solve this issue?
    Thank you.
    Last edited by smartinsar; 01-19-2024, 06:45 AM.
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hi,
    if you have last 8.1.1 it must be resolved.
    (i have see this kind of issue was resolved in 8.1.x if not forget).. see github issue closed.
    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment


    • smartinsar
      smartinsar commented
      Editing a comment
      The latest version didn't resolve my issue.
  • victor
    Active Community Member
    • Aug 2022
    • 727

    #3
    Hi smartinsar,

    Can't reproduce your problem. Tested Is Empty for different fields - filtering is successful everywhere (for EspoCRM 8.1.1).

    - Did you make any modifications to the EspoCRM files?
    - How does the Is Empty filter work for other fields and for other entities?
    - What type of field is your screenshot referring to?​

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #4
      Please provide more details about the relationship between Cost and CostFilter entity types. Is it one-to-many or many-to-many?


      > If I Re-save any Costs without any changes that has empty field CostFilters, then the only this Costs will show like Is Empty.

      I don't understand this. Could you explain more detail?
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...