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

FS#1809 - Searching closed tasks by Reason for closing

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?

Project Manager

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

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>


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";
option#closed:checked ~ option#reason1,option#closed:checked ~ option#reason2, {display:block;} /* or regexp */


Available keyboard shortcuts


Task Details

Task Editing