Search on custom field does not work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arunas
    Member
    • Aug 2014
    • 40

    Search on custom field does not work

    Hey guys,

    I have added custom (varchar) field in account section.
    I enabled search on this field

    however if I try to search for it give me empty result.

    what could be wrong?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Works properly. Just tested. Please more details. Not clear what you do.
    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

    • Arunas
      Member
      • Aug 2014
      • 40

      #3
      Originally posted by yurikuzn
      Works properly. Just tested. Please more details. Not clear what you do.
      go to admin -> field manager -> account -> add new field (varchar)
      give it a name accountID
      add new field to layout -> "List" and enable in "Search Filters" section.
      populate with data and try to search.
      for me it didn find anything

      Comment

      • Arunas
        Member
        • Aug 2014
        • 40

        #4
        Just tried to search based on website field it doesn;t work either

        Comment

        • yuri
          Member
          • Mar 2014
          • 8440

          #5
          Ok. I will look. Thanks.
          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

          • yuri
            Member
            • Mar 2014
            • 8440

            #6
            Do you try to search by the beginning of the value? If value "Hello World" then search "Hello" ?
            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

            • Arunas
              Member
              • Aug 2014
              • 40

              #7
              Originally posted by yurikuzn
              Do you try to search by the beginning of the value? If value "Hello World" then search "Hello" ?
              yes, it find records if you search begining of value in account name field, but if you try to search end of value it will not find.
              Example
              account name = Comany, LTD
              search = com -> search result true
              search = LTD -> search result false

              search done against custome fields fails with any search (beginig, middle, end)

              Comment

              • yuri
                Member
                • Mar 2014
                • 8440

                #8
                Search by '%LTD'

                Please make sure about custom fields. They should work as well.
                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

                • Arunas
                  Member
                  • Aug 2014
                  • 40

                  #9
                  Originally posted by yurikuzn
                  Search by '%LTD'

                  Please make sure about custom fields. They should work as well.

                  %LTD did the trick, thanks. But why not * symbol as wildcard?

                  Comment

                  • yuri
                    Member
                    • Mar 2014
                    • 8440

                    #10
                    % is used in LIKE operator. Maybe will remove the need to add it in the next version.
                    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

                    • Arunas
                      Member
                      • Aug 2014
                      • 40

                      #11
                      Originally posted by yurikuzn
                      % is used in LIKE operator. Maybe will remove the need to add it in the next version.
                      I would give +1 for % removal

                      Comment

                      Working...