We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi,
i'm getting this error when using redmine_backlogs on redmine 2.2.x branch
ActionView::Template::Error (undefined method <=>' for nil:NilClass): 20: </td> 21: <td class="add-filter"> 22: <%= label_tag('add_filter_select', l(:label_filter_add)) %> 23: <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %> 24: </td> 25: </tr> 26: </table> app/helpers/queries_helper.rb:33:infilters_options
<=>' for nil:NilClass): 20: </td> 21: <td class="add-filter"> 22: <%= label_tag('add_filter_select', l(:label_filter_add)) %> 23: <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %> 24: </td> 25: </tr> 26: </table> app/helpers/queries_helper.rb:33:in
options = [[]] sorted_options = query.available_filters.sort do |a, b| ord = 0 if !(a[1][:order] == 20 && b[1][:order] == 20) ord = a[1][:order] <=> b[1][:order] else cn = (CustomField::CUSTOM_FIELDS_NAMES.index(a[1][:field].class.name) <=> CustomField::CUSTOM_FIELDS_NAMES.index(b[1][:field].class.name)) if cn != 0
THanks! Carlo
The text was updated successfully, but these errors were encountered:
wrong forum sorry
Sorry, something went wrong.
No branches or pull requests
hi,
i'm getting this error when using redmine_backlogs on redmine 2.2.x branch
ActionView::Template::Error (undefined method
<=>' for nil:NilClass): 20: </td> 21: <td class="add-filter"> 22: <%= label_tag('add_filter_select', l(:label_filter_add)) %> 23: <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %> 24: </td> 25: </tr> 26: </table> app/helpers/queries_helper.rb:33:in
filters_optionsoptions = [[]]
sorted_options = query.available_filters.sort do |a, b|
ord = 0
if !(a[1][:order] == 20 && b[1][:order] == 20)
ord = a[1][:order] <=> b[1][:order]
else
cn = (CustomField::CUSTOM_FIELDS_NAMES.index(a[1][:field].class.name) <=>
CustomField::CUSTOM_FIELDS_NAMES.index(b[1][:field].class.name))
if cn != 0
THanks!
Carlo
The text was updated successfully, but these errors were encountered: