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.