diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-08 20:18:12 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-08 20:18:12 +0000 |
commit | 9394d739b1fc51735359d41f425c6eaeb4cf38d8 (patch) | |
tree | 68a703210ac9842c675ad46db072e80d5581073d /app/controllers/issues_controller.rb | |
parent | b29d74f9d5dfcbc348759ae35a40b586f9a862e0 (diff) | |
download | redmine-9394d739b1fc51735359d41f425c6eaeb4cf38d8.tar.gz redmine-9394d739b1fc51735359d41f425c6eaeb4cf38d8.zip |
Deprecation warnings (#12774).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11139 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r-- | app/controllers/issues_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 4869d1e2b..e86589fbf 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -71,8 +71,8 @@ class IssuesController < ApplicationController end @issue_count = @query.issue_count - @issue_pages = Paginator.new self, @issue_count, @limit, params['page'] - @offset ||= @issue_pages.current.offset + @issue_pages = Paginator.new @issue_count, @limit, params['page'] + @offset ||= @issue_pages.offset @issues = @query.issues(:include => [:assigned_to, :tracker, :priority, :category, :fixed_version], :order => sort_clause, :offset => @offset, |