Prezent / prezent-grid-bundle

Integrate prezent-grid in Symfony
MIT License
6 stars 3 forks source link

sort_field_parameter and sort_order_parameter are never respected when rendering #2

Closed deckchairlabs closed 8 years ago

deckchairlabs commented 8 years ago

When defining the sort_field_parameter or sort_order_parameter on a column, the defaults are never overridden in the rendered output of the grid. Awesome library and bundle by the way!

$builder->addColumn('status', 'string', [
  'label' => 'Status',
  'sortable' => true,
  'sort_field_parameter' => 'sorting'
]);

screen shot 2015-12-09 at 3 53 49 pm

rjbijl commented 8 years ago

Fixed it in master