# Saved search columns reset when filtering?

**URL:** <https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902>\
**Category:** Kibana\
**Created:** [December 30, 2020, 5:48pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902 "2020-12-30T17:48:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tallavi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tallavi/32/73613_2.png) [@tallavi](https://discuss.elastic.co/u/tallavi)\
**Post date:** [December 30, 2020, 5:48pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/1 "2020-12-30T17:48:25Z")

</div>

Hi,

We're on version 7.8.1 of the stack.

I noticed an annoyance. I have a dashboard with a saved search at the bottom. I add/remove columns, change the order, etc, and when I filter by a value, the columns reset! It wasn't like that before.

Is it by design? Or a known issue? Oddly, I couldn't find anyone complaining on this..

Is this behaviour configurable? Or perhaps fixed in a latest version?

Thanks,

Tal

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [December 30, 2020, 6:50pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/2 "2020-12-30T18:50:24Z")

</div>

This sounds like a bug, possibly the same as this: it appears not to have received attention recently. [https://github.com/elastic/kibana/issues/62892](https://github.com/elastic/kibana/issues/62892)

---

<div class="post-metadata">

**Author:** ![tallavi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tallavi/32/73613_2.png) [@tallavi](https://discuss.elastic.co/u/tallavi)\
**Post date:** [December 30, 2020, 7:52pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/3 "2020-12-30T19:52:08Z")

</div>

Thanks for the reply @wylie, but actually I don't see the connection, there the filters come back, in my case the _columns_ come back when filtering.

BTW, I mistyped before, I set the title as "Saved search columns reset when editing?", but I meant "Saved search columns reset when filtering?"

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [December 30, 2020, 8:21pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/4 "2020-12-30T20:21:37Z")

</div>

Got it. I've taken a closer look at what's happening based on your description, and I no longer think this is a bug- but I agree that it's annoying behavior, and I think you should open a feature request on the Kibana repo for this. The reason is that all of the changes you're making from the dashboard are temporary, and the saved search gets reloaded when you add filters, which clears the temporary changes. I think the options are basically these for how we could improve this:

1. Disable edits to saved searches on dashboards. Simple but maybe too limited.
2. Auto-save the edits. This can cause problems when dealing with multiple users.
3. Disable the "delete column" option in dashboard. Auto-save the rest, which are safe for multiple users.
4. Provide a dirty state which indicates that there are unsaved changes, and warn before reloading.

My preference here is option 3: what do you think?

Also, for opening a Github issue: we call this feature the "Saved search embeddable" and it's part of the Discover feature.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [December 30, 2020, 8:28pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/5 "2020-12-30T20:28:58Z")

</div>

Could be related to [https://github.com/elastic/kibana/issues/72024](https://github.com/elastic/kibana/issues/72024)

---

<div class="post-metadata">

**Author:** ![tallavi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tallavi/32/73613_2.png) [@tallavi](https://discuss.elastic.co/u/tallavi)\
**Post date:** [December 30, 2020, 9:15pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/6 "2020-12-30T21:15:31Z")

</div>

IMHO the bug as described there is actually not a bug but expected behavior. When you are going a change while viewing the dashboard and not editing the saved search, I believe there's no expectations that the change will survive a page refresh.

I think that 3 is not good as delete column might not be available, but what about the sort? adding columns? changing their order?

I believe that the best solution is to have the change survive a reload of data and filter changes etc. And only get lost after a full page refresh or even moving away from this dashboard. I believe that permanent changes should only be when editing the saved search.

The only work around right now is constantly editing the saved search to show other columns?

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [December 30, 2020, 9:42pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/7 "2020-12-30T21:42:09Z")

</div>

We don't currently have a middle ground between "permanently changes" and "temporary changes", which is why I didn't list any options like the one you're asking for. It seems like you would actually prefer option 2: auto-save all changes from the dashboard, so that any user with access to the dashboard can modify the saved search.l

---

<div class="post-metadata">

**Author:** ![tallavi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tallavi/32/73613_2.png) [@tallavi](https://discuss.elastic.co/u/tallavi)\
**Post date:** [January 3, 2021, 8:05pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/8 "2021-01-03T20:05:04Z")

</div>

I think that optimally other users should not be affected, for example, by setting the new columns configuration in local storage, per each changed saved search, with the ability to revert back to "factory settings".

But I'm really surprised that there's no way to retain such information "in session", for example, like I am able to fold the legend, and it doesn't return when updating the data or changing filters.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 31, 2021, 8:05pm UTC](https://discuss.elastic.co/t/saved-search-columns-reset-when-filtering/259902/9 "2021-01-31T20:05:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
