Is there a way to have a column in the list of sonata administrators that uses the computed value as a sort with
Something like this: (this does NOT work)
$mapper->add('stock', null, [
'sortable' => '(stock.real - stock.inCustomerOrder)',
]);
source
share