How to make issue filter select box to keep the last value
Added by Jan Pazdera over 3 years ago
my Redmine plugin is providing some new fields which I have added into the issue filter by "add_available_filter" function. I have also patched the "statement" function to construct the correct SQL for filtering (Filter "Team" on figure 1.png). But when I select my field in the filter, choose the request value from the select box and click Apply button (fiture 2.png), it will display the correct issues, but the value in the select box is reset to the first option (figure 3.png), so I can't see the value of the filter. Can someone help me please, how to keep the option chosen in the select box?