sonata-project/SonataAdminBundle — pull request #1488 by mhlavac (2013-07-27 14:07:49+00:00)
Title: Dropdown menu is not rendered if there is only one item in group

Small change to template which checks if there is only one item in group. If so the dropdown menu is not rendered and you can directly click on the link.

I've made this pull request to help with usability as future admins do not have to do two clicks and some mouse manipulation in case that there is only one item in the group.