ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 2 replies, has 2 voices, and was last updated by cflynn cflynn 2 years, 1 month ago.

  • Creator
    Topic
  • #11815
    cflynn
    cflynn
    Participant

    I’m trying to use the advanced search api to query an email or a phone number from a lead.

    /api/rest/latest/search/advanced.json?query=from oro_crm_lead where email ~ "adv.search.test@gmail.com" or phoneNumber ~ "5551112222"

    I get a query exception from Doctrine

    Invalid parameter number: number of bound variables does not match number of tokens

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #11820

    Yurii Muratov
    Oro Core

    Hi, @cflynn.
    What version of platform and CRM do you use? I was check your request on the latest master – this request works for me.

    #11824
    cflynn
    cflynn
    Participant

    oro/platform 1.7.2 (373af83)
    oro/crm 1.7.2 (21a1967)

    I’ll try updating to latest and running it again to see if that makes a difference.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.