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

This topic contains 1 reply, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 3 years, 1 month ago.

  • Creator
  • #6215


    Is it possible to have a filter in datagrid that can filter on an entity related to the entity being shown?

    Example scenario:

    A view that contains all orders placed on an ecommerce store. The view is of course a summary of the orders. So a normal filter would be “Order ID” for example. Nothing complicated here.

    We then create a related entity called OrderItems which contain all the items ordered. These order items will not be in the main Order entity.

    Now we want to add a filter in the order view, which we can filter on the SKU, so it will only show orders with orderitems that have SKU “123”.

    Hope it makes sense.

    Is this possible and how?

Viewing 1 replies (of 1 total)
  • Author
  • #6244
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello, Jowo.

    You can add your own filter both on backend and frontend, see existing datagrid filters in OroFilterBundle.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.