Search on custom field does not work

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

    #1

    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
    EspoCRM product developer
    • Mar 2014
    • 9616

    #2
    Works properly. Just tested. Please more details. Not clear what you do.

    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
          EspoCRM product developer
          • Mar 2014
          • 9616

          #5
          Ok. I will look. Thanks.

          Comment

          • yuri
            EspoCRM product developer
            • Mar 2014
            • 9616

            #6
            Do you try to search by the beginning of the value? If value "Hello World" then search "Hello" ?

            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
                EspoCRM product developer
                • Mar 2014
                • 9616

                #8
                Search by '%LTD'

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

                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
                    EspoCRM product developer
                    • Mar 2014
                    • 9616

                    #10
                    % is used in LIKE operator. Maybe will remove the need to add it in the next version.

                    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...