Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0013119mantisbtfilterspublic2012-09-16 17:21
Reporterdandjo Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionduplicate 
Product Version1.2.3 
Summary0013119: Currently selected filter
Description

When selecting a filter it would be nice to see which filter I selected. The dropdown changes back to "[Reset Filter]", it would be better to preselect the chosen filter.

Steps To Reproduce
  • select filter
  • page reloads
  • dropdown changes back to "[Reset Filter]"
TagsNo tags attached.

Relationships

duplicate of 0008069 closeddregad "saved filter popup" always resets itself 
has duplicate 0014634 closedatrol Display name of selected saved filter so users can confirm filter has been selected (do not revert to display "[Reset Filter]" ) 

Activities

atrol

atrol

2011-07-05 16:16

developer   ~0029098

A typical workflow is to select a filter, have a look at the issues, reset the filter, change the filter .....
This can be done with few clicks in current implementation.

There should be a new button "Reset Filter" if the chosen filter is preselected.

dandjo

dandjo

2011-07-12 10:11

reporter   ~0029150

Yeah, this would be a nice solution.

esutton

esutton

2012-08-17 10:58

reporter   ~0032611

Last edited: 2012-08-17 11:00

I think having the drop-down list display the last selected filter would reduce the confusion in our Change Control Board ( CCB ) meetings on what we were reviewing.

The only use case for the "Use Filter" button seems to be when the "[Reset Filter]" is displayed in the list. Perhaps changed the "Use Filter" button to become the new "Reset Filter" button?

atrol

atrol

2012-08-17 11:05

developer   ~0032612

The only use case for the "Use Filter" button seems to be when the "[Reset Filter]" is displayed in the list.
This is not true. You have to push the button after selecting a filter if JavaScript is disabled.

esutton

esutton

2012-08-17 12:08

reporter   ~0032614

Thank you for clarification about the "Use Filter" button.

I am trying to identify the PHP source file where code could be modified to make the list remain in last selected state. Can you provide any direction?

atrol

atrol

2012-08-17 13:33

developer   ~0032615

Can you provide any direction?
filter_api.php around line 3407 is the place where the option list of filters gets populated.
if( count( $t_stored_queries_arr ) > 0 )

marc

marc

2012-08-26 13:10

reporter   ~0032678

I tried to fix this several years ago, the patch is in 0008069. We used that for quite some time in our local installation, but I remember that it didn't work for some filters. I cannot check, as I don't have access to that system anymore.

dregad

dregad

2012-08-26 17:40

developer   ~0032682

I updated marc's patch - https://github.com/dregad/mantisbt/tree/fix-8069

@atrol, based on marc's comment I would suggest to resolve this one as duplicate of 0008069.