Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Block Page] Grid sorting #29

Merged
merged 5 commits into from
Sep 20, 2017
Merged

[Block Page] Grid sorting #29

merged 5 commits into from
Sep 20, 2017

Conversation

shinoks
Copy link
Contributor

@shinoks shinoks commented Sep 20, 2017

No description provided.

@@ -27,7 +27,8 @@ class BlockRepository extends EntityRepository implements BlockRepositoryInterfa
*/
public function createListQueryBuilder(): QueryBuilder
{
return $this->createQueryBuilder('o');
return $this->createQueryBuilder('o')
->leftJoin('o.translations', 'translation');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, move the semicolon to the new line. Check out any Sylius Repository for an example 🙂

@@ -27,7 +27,8 @@ class PageRepository extends EntityRepository implements PageRepositoryInterface
*/
public function createListQueryBuilder(): QueryBuilder
{
return $this->createQueryBuilder('o');
return $this->createQueryBuilder('o')
->leftJoin('o.translations', 'translation');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And same thing here.

@bitbager bitbager merged commit f18ebb9 into BitBagCommerce:master Sep 20, 2017
@bitbager
Copy link
Member

Thank you, Paweł!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants