0

I can add the sales order grid to a route easily by adding this in the layout file:

<referenceContainer name="content">
  <uiComponent name="sales_order_grid"/>
</referenceContainer>

But is there a way I can change the settings just for this grid? By adding this into sales_order_grid.xml:

  <settings>
      <filterUrlParams>
          <param name="status">processing</param>
      </filterUrlParams>
  </settings>

I affect all sales grids, not just the one in my custom route.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.