View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004207 | mantisbt | filters | public | 2004-07-27 09:37 | 2004-08-29 02:13 |
Reporter | sgrund | Assigned To | Narcissus | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.19.0a1 | ||||
Fixed in Version | 0.19.0rc1 | ||||
Summary | 0004207: Mantis forgets user filter after logout | ||||
Description | when customizing the user filter, mantis 'forgets' the settings after logout. | ||||
Tags | No tags attached. | ||||
well spotted, auth_logout calls filter_db_delete_current_filters, which deletes any filters ALL Project filters. I'm assuming that this is left over from before saved filters were implemented? |
|
The code has always reset filters after logging out, originally by deleting your filter cookie. At the moment, the filter cookie is still deleted, but also the filters in the DB are deleted, too. I'm not sure whether we should automatically leave the filters in the DB, as it is possible that you would end up with quite a few 'stale' entries. Maybe a config option to allow keeping filters after logging out? |
|
I think we should keep one filter per project per user in the database. This is basically the last active project for each filter (similer to what we do within a session). Of course, this is in addition to the stored filters. |
|
Fixed and in CVS. I have a funny feeling that this now retires the use of view_all_cookie, but I will have to confirm this before pulling it out. |
|