1. 08 Mar, 2017 2 commits
    • Jordan Ryan Reuter's avatar
      Manually set total_count when paginating commits · 473cab81
      Jordan Ryan Reuter authored
      `Kaminari.paginate_array` takes some options, most relevant of which is
      a `total_count` parameter. Using the `commit_count` for `total_count`
      lets us correctly treat the return of `Repository#commits` as a subset
      of all the commits we may wish to list.
      
      Addition of a new `Repository#commit_count_for_ref` method was
      necessarry to allow the user to start from an arbitrary ref.
      
      Ref #1381
      473cab81
    • Douwe Maan's avatar
      Merge branch 'orderable-issues' into 'master' · 2995f48e
      Douwe Maan authored
      Allow issues in boards to be ordered
      
      Closes #21264
      
      See merge request !8916
      2995f48e
  2. 07 Mar, 2017 38 commits