mirror of
https://github.com/redmine/redmine.git
synced 2026-07-01 02:08:21 +02:00
Ability to filter issues using project, author, assignee and target version custom fields (#8161).
Custom fields must be marked as "Used as filter" to show up in the filters list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10164 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -152,10 +152,11 @@ function buildFilterRow(field, operator, values) {
|
||||
var option = $('<option>');
|
||||
if ($.isArray(filterValue)) {
|
||||
option.val(filterValue[1]).html(filterValue[0]);
|
||||
if (values.indexOf(filterValue[1]) > -1) {option.attr('selected', true)};
|
||||
} else {
|
||||
option.val(filterValue).html(filterValue);
|
||||
if (values.indexOf(filterValue) > -1) {option.attr('selected', true)};
|
||||
}
|
||||
if (values.indexOf(filterValues[i][1]) > -1) {option.attr('selected', true)};
|
||||
select.append(option);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user