Related contact phone search issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • goingUp
    Junior Member
    • Sep 2024
    • 15

    #1

    Related contact phone search issues

    I have entity "HelpRequest", which have contact (many-to-one relation to contact).
    1. I can add contact fields to "Text filter fields" like firstName to HelpRequest entity, and search by them, but not contact phone number. It absent in the list.
    2. I can add "contactPhoneNumber" foreign field to HelpRequest and add it to filter fields, and it will work. But not when global "Numeric phone number search" is enabled. In that case I get error " Bad request Not existing attribute 'contactPhoneNumberNumeric' in where"
  • yuri
    Member
    • Mar 2014
    • 8922

    #2
    1. Is not a bug. There's no such a feature. Missing features are not bugs.
    2. Can you help with fix?

    P.S. One issue – one bug report. With detail steps to reproduce. Otherwise, create a topic in the General category.
    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

    • goingUp
      Junior Member
      • Sep 2024
      • 15

      #3
      Sorry about that I didn't expect reply today, but when you'll have time, if any at all.

      Yes, first is more like feature request. But without it that "related contact" stuff in "Text filter fields" will be incomplete, because phone is kind of important contact field for search. Maybe not all field types should be supported, but phone should be first class citizen IMO.

      Comment

      • goingUp
        Junior Member
        • Sep 2024
        • 15

        #4
        Originally posted by yuri
        2. Can you help with fix?
        Like fixing it and do PR on github? I'll try.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8922

          #5
          I checked the second item. There's no easy fix. I'll disable numeric search for foreign phone numbers for now.
          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...