OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce I can't sort customers by ID

This topic contains 2 replies, has 2 voices, and was last updated by  Mauro Chojrin 8 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #40989

    Mauro Chojrin


    I’m having a weird problem: when I’m at http://localhost:8000/admin/customer/ and I add the ID field to the grid I can sort by any column except for ID.

    I tried it in differente screens (like contacts for instance) and it works fine.

    I tried it both in the VM and production and got the same effect… My OroCommerce version is 3.1.12.

    Any ideas? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #41070
    Andrey Yatsenko
    Andrey Yatsenko

    Hi Mauro,

    Looks like there is no sorter configured for the column. You can add a datagrid sorter for an ID field manually from a custom datagrids.yml in your bundles. all the data grid configs are merged across the bundles.


    Mauro Chojrin

    Thanks Andrey!

    Just tried it and it worked! (I can’t believe it work at the first try :)).

    I’ll leave the file I changed in case it can help someone else:

    I placed a datagrid.yml file inside my bundles Resources/config/oro/ dir containing:

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

The forum ‘OroCommerce’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No