Opened 14 years ago
Closed 14 years ago
#1531 closed enhancement (fixed)
Add support for temporary filters on list pages
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.16 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
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:'.
Change History (3)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [5450]) References #1531: Add support for temporary filters on list pages
This adds the support to the core api and fixes the problem resulting from the bioplate selection.
Dialogs that are opening a list page for selection need to change the request url:
resetTemporary=1
tmpfilter:
instead offilter:
Eg.
&resetTemporary=1&tmpfilter:STRING:bioWell=