Flyspray - The bug killer!

  • Status Maybe
  • Percent Complete
    0%
  • Task Type Feature Request
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 0.9.9.7
  • Due in Version 2.0
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Marcin Kot - 17.01.2013
Last edited by Psychokiller1888 - 06.03.2015

FS#1809 - Searching closed tasks by Reason for closing

Hi,
how can I search tasks by "Reason for closing"? There is an option for searching for status but I do not want search by tasks' status but by reason for closing it. Is it possible to do it?
Marcin

Project Manager
peterdd commented on 20.08.2015 11:50

Interesting, but implementation of that search filter probably not before FS1.1.

Would need some even more complicated sql query building in get_task_list()..

A maybe simpler modification would be to show just the reason of closing after the 'closed' status in the task list (if 'status' column is shown).

UI extendend search form: By default hide a resolution dropdown/select. Only if the search status 'closed' is selected - and only this one option!, then show the resolution dropdown for sub filtering.

I currently do not see how the hiding/showing here can be done with pure HTML/CSS without Javascript, so for javascript disabled browsers the resolution dropdown is shown always in extended search form and hidden by javascript on page load.

Project Manager
peterdd commented on 06.11.2015 03:41

Maybe this for pure HTML/CSS:

<select id="status">
..
<option id="closed" value="closed">closed</option>
<option id="reason1" value="r1">- Reason 1</option>
<option id="reason2" value="r2">- Reason 2</option>
..
<option value="3">other status</option>

and

<style>
option#reason1,option#reason2, ..  {display:none;background-color:#eee;} /* or regexp */
option#closed:checked:before {
content:"Filter by closing reasons with CTRL+SPACE or CTRL+Mouse, navigate with up/down keys";
position:absolute;
top:-50px;
background:rgba(200,200,200,0.8);
left:-40px;
color:#900;
}
option#closed:checked ~ option#reason1,option#closed:checked ~ option#reason2, {display:block;} /* or regexp */
</style>

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing