1. 14 Jun, 2021 12 commits
  2. 07 Jun, 2021 2 commits
    • Gautier de Saint Martin Lacaze's avatar
      Merge pull request #713 from gitlab4j/issue-658 · 69c15a39
      Gautier de Saint Martin Lacaze authored
      Fix #658 : Pager not working properly
      69c15a39
    • Gautier de Saint Martin Lacaze's avatar
      Fix #658 : Pager not working properly · 4e9f7a6c
      Gautier de Saint Martin Lacaze authored
      Since the removal of "X-Total-Pages" and "X-Total" headers, all paginations use the kaminari counter.
      In this mode, kaminari counter is reset to -1 during the call of the last page. This part is correct.
      Then when we call the `current()` method of the pager to get the current page. This method call the same `page` method than the `next` method. In this method the pager check if there is element before checking if we call for the current page. It throws NoSuchElementException erroneously.
      
      To fix, I change the check sequence. First I check ifthe user call the current page. If so, we return the corresponding items. If not we check if there is such elements and call the API.
      4e9f7a6c
  3. 01 Jun, 2021 3 commits
  4. 14 Apr, 2021 1 commit
  5. 13 Apr, 2021 1 commit
  6. 11 Apr, 2021 11 commits
  7. 26 Mar, 2021 1 commit
  8. 25 Mar, 2021 1 commit
  9. 24 Mar, 2021 2 commits
  10. 23 Mar, 2021 1 commit
  11. 22 Mar, 2021 3 commits
  12. 17 Mar, 2021 2 commits