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

[TaxonomyBundle] Fix display bug in choice list and enlarge area #5119

Merged
merged 2 commits into from
May 25, 2016

Conversation

psyray
Copy link
Contributor

@psyray psyray commented May 25, 2016

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related tickets none
License MIT

Taxon choice list is badly sorted by id.
To keep tree consistent I've made this PR

My taxon list
selection_490

Before PR
selection_488

After PR
selection_489

I've also enlarge the choice list height on product page, it's more readable whan you have a lot of taxons

Enjoy ;)

@pjedrzejewski
Copy link
Member

@psyray I noticed this bug recently too, quite annoying! I think that proper fix would be on the query level (sort taxons properly), wdyt?

@psyray
Copy link
Contributor Author

psyray commented May 25, 2016

I think the same thing before working on this PR, it's more elegant and a good practice to create a method in the Taxon repository.
You convinced me ;)

I will rework on it.
Sorting on the tree left seems to be good no ?

@psyray
Copy link
Contributor Author

psyray commented May 25, 2016

Done !
More concise, more elegant, same result ;)

@pjedrzejewski pjedrzejewski merged commit 0729b93 into Sylius:master May 25, 2016
@pjedrzejewski
Copy link
Member

Nice, thanks Raynald! 👍

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.

2 participants