Bug #36529
closedCV page needs refresh to get the current filters state
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2216757
Description of problem:
When adding/removing a filter to/from a content view, we need to refresh the CV page to get the current state of applied filters, otherwise later in the Publish overview modal the previous state is displayed instead of the current one.
Version-Release number of selected component (if applicable):
6.14.0 snap 4
How reproducible:
always
Steps to Reproduce:
1. Have a CV with some content.
2. Add a filter (no matter the type) and publish.
3. Remove the filter added in 2. and publish again.
Actual results:
2. No info about applied filters shown in the publish overview modal.
3. "Filters will be applied to this content view version." info is shown in the publish overview modal.
Expected results:
2. "Filters will be applied to this content view version." should be shown in the publish overview modal.
3. No info about applied filters should be shown in the publish overview modal.
Additional info:
If we refresh the CV page before publishing, the correct state is used for the message.