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

Fix tree view BC break #639

Closed
wants to merge 1 commit into from
Closed

Fix tree view BC break #639

wants to merge 1 commit into from

Conversation

Neodork
Copy link

@Neodork Neodork commented May 18, 2016

Pr for #638

@greg0ire
Copy link
Contributor

Hello, and thanks for your contribution!

Please read and apply : https://github.com/sonata-project/SonataAdminBundle/blob/master/CONTRIBUTING.md#the-commit-message

<i class="fa fa-list"></i> {{ 'pages.list_mode'|trans({}, 'SonataPageBundle') }}
</a>
<a type="button" class="btn {% if mode == 'tree' %}btn-info active{% else %}btn-default{% endif %}" href="{{ admin.generateUrl('tree') }}">
<a type="button" class="btn {% if mode == 'tree' %}btn-info active{% else %}btn-default{% endif %}" href="{{ admin.generateUrl('tree', { 'filter': { 'site': { 'value': currentSite.id|default('') }}}) }}">
Copy link
Contributor

Choose a reason for hiding this comment

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

Please linebreak this line.

@Neodork
Copy link
Author

Neodork commented May 21, 2016

👍 Think I got most of it, tell me if I missed some.

@core23
Copy link
Member

core23 commented May 21, 2016

Please have a look at travis @Neodork

@Neodork
Copy link
Author

Neodork commented May 22, 2016

@core23 I did, I thought those Composer errors were because of the new versioning is still being applied to this bundle: #637

@@ -1,12 +1,15 @@
CHANGELOG
=========

Copy link
Member

Choose a reason for hiding this comment

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

Why did you remove this line?

This fixed the tree view showing if no filter is defined, show list view instead.
The tree view has no functionality for SonataAdminBundle's sonata_type_model causing a BC break.
@Neodork
Copy link
Author

Neodork commented May 22, 2016

@core23 My bad OCD stuff, didn't even notice.

@Neodork
Copy link
Author

Neodork commented May 23, 2016

This is still incomplete I noticed in one of my projects. PR on hold till further notice.

@SonataCI
Copy link
Collaborator

Could you please rebase your PR and fix merge conflicts?

@soullivaneuh
Copy link
Member

According to the new Sonata version management and next major release plan, this project has been refactored regarding branching and versioning.

If you see this message, your PR concerns a patch or a minor release and is not targeting the right branch.

So I'm closing this one, but don't see it as a refusal. If you think your work is still relevant and want to continue, feel free to reopen it on the right branch (e.g. the default one).

Regards.

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

Successfully merging this pull request may close these issues.

5 participants