View Issue Details

IDProjectCategoryView StatusLast Update
0004207mantisbtfilterspublic2004-08-29 02:13
Reportersgrund Assigned ToNarcissus  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.0a1 
Fixed in Version0.19.0rc1 
Summary0004207: Mantis forgets user filter after logout
Description

when customizing the user filter, mantis 'forgets' the settings after logout.

TagsNo tags attached.

Relationships

child of 0003987 closedvboctor Mantis 0.19.0 Release 

Activities

grangeway

grangeway

2004-07-27 10:08

reporter   ~0006396

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?
anyway, this needs to be modified before 0.19

Narcissus

Narcissus

2004-07-28 07:07

reporter   ~0006415

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?

vboctor

vboctor

2004-07-28 16:48

manager   ~0006423

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.

Narcissus

Narcissus

2004-07-31 22:28

reporter   ~0006515

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.