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

[Addressing] Province rendering tweaks #3953

Merged
merged 4 commits into from
Jan 22, 2016

Conversation

NoResponseMate
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Deprecations? no
Fixed tickets #3902
License MIT
Doc PR -

@NoResponseMate NoResponseMate changed the title Province filters galore Province rendering tweaks Jan 22, 2016
@pjedrzejewski pjedrzejewski added Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). DX Issues and PRs aimed at improving Developer eXperience. labels Jan 22, 2016
@michalmarcinkowski michalmarcinkowski changed the title Province rendering tweaks [Addressing] Province rendering tweaks Jan 22, 2016
@@ -30,6 +30,9 @@ public function buildForm(FormBuilderInterface $builder, array $options)
->add('name', 'text', array(
'label' => 'sylius.form.province.name',
))
->add('abbreviation', 'text', array(
'label' => 'sylius.form.province.abbreviation',
Copy link
Member

Choose a reason for hiding this comment

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

It's not required so we should set it to false here.

@pjedrzejewski
Copy link
Member

Looks good to me, let's fix the build, merge it and add caching in another PR.

->willReturn($provinceForm);



Copy link
Contributor

Choose a reason for hiding this comment

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

Redundant blank spaces

@michalmarcinkowski
Copy link
Contributor

Add fallback to code in ProvinceNamingProvider::getAbbreviation and good to go :)

@peteward
Copy link

Thanks for getting this done so quickly :) 👍

pjedrzejewski pushed a commit that referenced this pull request Jan 22, 2016
[Addressing] Province rendering tweaks
@pjedrzejewski pjedrzejewski merged commit 5586928 into Sylius:master Jan 22, 2016
@pjedrzejewski
Copy link
Member

Thank you Jasiek! 👍 :)

@NoResponseMate NoResponseMate deleted the province-filters-galore branch January 23, 2016 11:33
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
…lore

[Addressing] Province rendering tweaks
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
…lore

[Addressing] Province rendering tweaks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Issues and PRs aimed at improving Developer eXperience. Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants