Support AND / OR operators in List views.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alasdaircr
    Active Community Member
    • Aug 2014
    • 525

    Support AND / OR operators in List views.

    It should be possible to add the same filter more than once, and use logical operators on them The code pretty much exists in the backend already I think.

    Other CRMs support this by default.

    What is the ETA of this feature? I'm sure a lot of users would appreciate something like this.

    It's not possible to use Reports for this as the filters arn't flexible enough - can't add multiple filters / support OR / AND / NOT operations.
  • alasdaircr
    Active Community Member
    • Aug 2014
    • 525

    #2
    Also as I've mentioned previously another missing feature is the ability to filter based on properties of links. This seems like a critical feature to me. The backend appears to support sophisticated queries like this, is it just the frontend not being implemented?

    Can I help?!

    Here's an example:

    How would I search for Contacts who have Attended any Meeting CreatedBy a certain User OR another User? [I don't want people who Declined the meetings or all Contacts who have ever Attended a meeting]

    Comment

    • yuri
      Member
      • Mar 2014
      • 8495

      #3
      We don't have it on our roadmap. It will require lot of changes in frontend, And will also complicate UI.
      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

      • alasdaircr
        Active Community Member
        • Aug 2014
        • 525

        #4
        Ok.

        ​That's pretty depressing. Users just expect to be able to answer these sort of questions.

        Comment

        • alasdaircr
          Active Community Member
          • Aug 2014
          • 525

          #5
          (Without using a pen and paper or Excel spreadsheet)

          Comment

          • yuri
            Member
            • Mar 2014
            • 8495

            #6
            It's better to add this feature to reports. The current implementation covers the most of needs. I never needed to search something with 'OR' operator. For enum fields "or" is applied always. For linkMultiple as well. And for link fields will be since 3.9.0.
            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

            • alasdaircr
              Active Community Member
              • Aug 2014
              • 525

              #7
              I just noticed that reports don't support array fields or multi-enums. Hopefully that's an easy fix?

              Comment

              • alasdaircr
                Active Community Member
                • Aug 2014
                • 525

                #8
                They shouldn't be selectable if they're not supported - causes confusion for the user

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8495

                  #9
                  I just tested and it worked fine.
                  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

                  • alasdaircr
                    Active Community Member
                    • Aug 2014
                    • 525

                    #10
                    Sorry I was mistaken.

                    They work but not as foreign fields. Eg Report outputting List of Contacts.

                    Add a filter of "Accounts.<enum_type_field>" this works fine.

                    But "Accounts.<multi_enum_type_field>" doesn't, and neither does "Accounts.<array_type_field>", "Account (Primary).<multi_enum_type_field>" or "Account (Primary).<array_type_field".

                    It would be brilliant if these could be supported.

                    Comment

                    Working...