Project

General

Profile

Actions

Defect #6612

closed

SortHelper missing from CalendarsController

Added by Felix Schäfer about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Calendar
Target version:
Start date:
2010-10-08
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I just tried to show a calendar with a custom query, so something like: http://my.redmi.ne/issues/calendar?query_id=13, which causes redmine to quit on a:

NameError (undefined local variable or method `sort_clear' for #<CalendarsController:0x7f4400887b10>):
  app/helpers/queries_helper.rb:75:in `retrieve_query'
  app/controllers/calendars_controller.rb:23:in `show'

The solution is to include SortHelper in CalendarsController.

Actions

Also available in: Atom PDF