Add support for temporary filters on list pages
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
Filters are sometimes added to the list pages when a user is requested to selected something for a dialog. This is usually done to restrict the list to those items that the user may select in the current context. See for example #1529. The problem is that those filters remain when the dialog has been closed. This is a source for confusion later on when the user enters the regular list page via the menu and doesn't always notice that the list is filtered on something complete unrelated.
So we need a way to mark a filter as temporary. Once the dialog is finished the temporary filter should not be used again. If the temporary filter overrides an existing "real" filter the old filter should be restored.
A good way to find places that can make use of this feature is to find all jsp files containing the text 'filter:'.