Actions
Feature #4398
closedAuthor Issue-filter only contains members even when non-members have 'create issue' permission
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-12-14
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Description
From Eric Davis over IRC:
if non-members are allowed to create issues, Issue Filters > Author should list non-members too
Related issues
Updated by Jean-Philippe Lang almost 15 years ago
We can not list all users in this field, we need to change this filter to an auto-complete field first.
Updated by Mischa The Evil almost 15 years ago
Jean-Philippe Lang wrote:
We can not list all users in this field (...)
Agreed! :)
Updated by Nick Fitzgerald almost 15 years ago
+1
Just discovered this issue myself.
Updated by Etienne Massip over 13 years ago
- Target version set to Candidate for next major release
Updated by Gabriel Mazetto over 11 years ago
Any update on this? We should consider it a defect rather then a feature... as the expected behaviour is currently not being matched by the actual code.
Updated by Toshi MARUYAMA about 9 years ago
- Status changed from New to Closed
- Target version deleted (
Candidate for next major release) - Resolution set to Duplicate
I close as duplicate of #4398.
Updated by Toshi MARUYAMA about 9 years ago
Updated by Toshi MARUYAMA about 9 years ago
- Is duplicate of Feature #1875: Issue filtering on author only uses members of project added
Updated by Alexey Poliansky about 9 years ago
173c177,183 < author_values += users.collect{|s| [s.name, s.id.to_s] } --- > if project > project.issues.group(:author_id).each{|i| author_values << [i.author.name, i.author_id.to_s]} > else > author_values += users.collect{|s| [s.name, s.id.to_s] } > end
Add only authors to filter list, if neccessary.
not contain subprojects yet, but it's also possible
Updated by Alexey Poliansky about 9 years ago
I select all authors from issues in last half of year and preload authors objects
173c174,182 < author_values += users.collect{|s| [s.name, s.id.to_s] } --- > if project > time_range = (Time.now - (3600*24*180))..(Time.now) > author_values += project.issues.where(issues: { created_on: time_range }).group(:author_id).preload(:author).collect{|s| [s.author.name, s.author_id.to_s]} > author_values.sort! > else > author_values += users.collect{|s| [s.name, s.id.to_s] } > end
works fast and useful for control workflow projects
Actions