Sylius/SyliusResourceBundle — pull request #51 by aRn0D (2013-07-30 11:30:33+00:00)
Title: (Small) Enhancement of sorting and filtering

I had to enable filter on a grid, it used resource which had relationship (and custom repository). With the getPropertyMethod method it will possible to filter a grid with the custom alias (or not) :

Your grid :
``` html
...

{{ sylius_resource_sort('productName', 'product.field.name.label'|trans, null, null) }}

{{ sylius_resource_sort('c.name', 'product.field.name.label'|trans, null, null) }}

...
```
Your repository :
```php
public function getProduct() {
$this->getCollectionQueryBuilder();
->innerJoin('p.category', 'c');
}
```