0002-ops-default-page-is-1-not-zero.patch

Daniel Lindenfelser, 2010-08-13 16:18

Download (1.02 KB)

View differences:

app/controllers/issues_controller.rb
73 73
      
74 74
      @issue_count = @query.issue_count
75 75
      @issue_limit = limit
76
      @issue_page = params['page'].nil? ? 0 : params['page']
76
      @issue_page = params['page'].nil? ? 1 : params['page']
77 77
      @issue_pages = Paginator.new self, @issue_count, limit, params['page']
78 78
      @issues = @query.issues(:include => [:assigned_to, :tracker, :priority, :category, :fixed_version],
79 79
                              :order => sort_clause, 
80
-