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 thinh2010 thinh2010 11 months, 1 week ago.

  • Creator
    Topic
  • #24259
    thinh2010
    thinh2010
    Participant

    Hi,

    I want to set condition in datagrid such as:
    Select * from entity where id IN (1,2)

    which 1,2 send via parameters of datagrid.

    I have

    print idList|join(‘,’) I got 1,2

    in datagrid I have

    look like it will works, but not. I only always got 1 row each time.

    I think the problem is I parse ‘,’ via datagrid.

    Do you have any ideal to help me?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #24282
    Mike Kudelya
    Mike Kudelya
    Oro Core

    Hi

    Id parameter must be an array.

    #24768
    thinh2010
    thinh2010
    Participant

    Hi @Mike,

    Thanks, I tried with array and it works

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

You must be logged in to reply to this topic.