# \[IN DEV\] Consistent "Group by the same database relation" behavior when using "Search Sidebar items"

**URL:** <https://community.fibery.io/t/in-dev-consistent-group-by-the-same-database-relation-behavior-when-using-search-sidebar-items/8367>\
**Category:** Ideas & Features\
**Tags:** left-menu\
**Created:** [March 4, 2025, 8:06am UTC](https://community.fibery.io/t/in-dev-consistent-group-by-the-same-database-relation-behavior-when-using-search-sidebar-items/8367 "2025-03-04T08:06:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Ichter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/michael_ichter/32/9931_2.png) [@Michael\_Ichter](https://community.fibery.io/u/Michael_Ichter)\
**Post date:** [March 4, 2025, 8:06am UTC](https://community.fibery.io/t/in-dev-consistent-group-by-the-same-database-relation-behavior-when-using-search-sidebar-items/8367/1 "2025-03-04T08:06:34Z")

</div>

For smart folders in our wiki, we use the “group by same database relation” toggle to nest entities. However, when we use the “sidebar search” feature to locate a folder and then expand that folder, all the entities are expanded. They are nested, but the lists are all expanded and cannot be collapsed:

 ![image showing fully expanded lists](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/2/2249c0c4b235f48c9ee5ac6e31b8dbe3f420f8c9.png)  
As is, this feels cluttered, and it is inconsistent with accessing the smart folder normally. It would be nice for the UX to have this collapsed by default (and being able to selectively expand as desired), having the same behavior as when the smart folder is accessed normally (i.e. not via search).

A tangential idea, would it work to have entities listed in the sidebar (i.e. listed within smart folders) to be searchable via “Search Sidebar items”?

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [March 7, 2025, 8:52am UTC](https://community.fibery.io/t/in-dev-consistent-group-by-the-same-database-relation-behavior-when-using-search-sidebar-items/8367/2 "2025-03-07T08:52:56Z")

</div>

Yeah, does not look good, we will think

---

<div class="post-metadata">

**Author:** ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Post date:** [March 12, 2025, 10:59am UTC](https://community.fibery.io/t/in-dev-consistent-group-by-the-same-database-relation-behavior-when-using-search-sidebar-items/8367/3 "2025-03-12T10:59:14Z")

</div>

> [@Michael\_Ichter](#):
>
> It would be nice for the UX to have this collapsed by default (and being able to selectively expand as desired), having the same behavior as when the smart folder is accessed normally (i.e. not via search).

We will do it now
