Sonataadminbundle: Handle filters in tree view

Created on 21 May 2016  路  5Comments  路  Source: sonata-project/SonataAdminBundle

| Question | Answer |
| --- | --- |
| Bundle version | master |
| Symfony version | 2.8.4 |
| php version | 5.5 |

Steps to reproduce

Show entities in a tree view, click Filter and enter some filters.

Expected results

Display all items in a tree view that match my filter settings.

Actual results

Result page displays my entities in a list view.

Possible improvements

  • Display all items and highlight matching results
  • Display only filtered items. This may be a problem when a parent item is hidden.
  • Hide the filters in tree view
bug pending author stale

Most helpful comment

@sonata-project/contributors What behavior would you expect?

馃憤 highlight matching results
鉂わ笍 showing filtered items and ancestors and highlight matching results
馃憥 show only filtered items
馃帀 hide filters

All 5 comments

@sonata-project/contributors What behavior would you expect?

馃憤 highlight matching results
鉂わ笍 showing filtered items and ancestors and highlight matching results
馃憥 show only filtered items
馃帀 hide filters

What about showing filtered items AND all their ancestors?

Added a 4. option

Please leave your opinion how we should handle the filters in the tree view @sonata-project/contributors

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Was this page helpful?
0 / 5 - 0 ratings