Project

General

Profile

Actions

Defect #8799

closed

Cannot Filter in Tickets-View

Added by Guido Heymann almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2011-07-13
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

After an upgrade to Redmine 1.2.1 it is not possible to Filter from within the issues-page.

After applying a query, firebug shows the following error-message:

submit_query_form is not defined

Same problem with saving a query.

Workarround:
Set the filter on gantt page.
But there is no possiblity to save or group a query.

Solution:
fix app/views/issues/index.rhtml arrounf lines 38ff

 <%= link_to_function l(:button_apply), '$("query_form").submit()', :class => 'icon icon-checked' %>
 <%= link_to l(:button_clear), { :project_id => @project, :set_filter => 1 }, :class => 'icon icon-reload' %>

 and 

 <%= link_to_function l(:button_save), "$('query_form').action='#{ url_for :controller => 'queries', :action => 'new', :project_id => @project }';$('query_form').submit();", :class => 'icon icon-save' %>

Environment:
Server version: Apache/2.2.16 (Ubuntu)
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1
Rails version 2.3.11
Active Record version 2.3.11
Active Resource version 2.3.11
Action Mailer version 2.3.11
Active Support version 2.3.11
Edge Rails revision unknown
Application root /home/redmine/redmine-1.2.1_current
Environment production
Database adapter mysql
Database schema version 20110511000000

Actions

Also available in: Atom PDF