1. 25 Aug, 2021 3 commits
  2. 22 Aug, 2021 1 commit
  3. 16 Aug, 2021 1 commit
  4. 28 Jul, 2021 1 commit
  5. 20 Jul, 2021 1 commit
  6. 05 Jul, 2021 4 commits
  7. 26 Jun, 2021 2 commits
  8. 14 Jun, 2021 4 commits
  9. 07 Jun, 2021 1 commit
    • 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.
      Unverified
      4e9f7a6c
  10. 01 Jun, 2021 3 commits
  11. 24 Apr, 2021 1 commit
  12. 11 Apr, 2021 1 commit
  13. 25 Mar, 2021 1 commit
  14. 24 Mar, 2021 1 commit
  15. 22 Mar, 2021 1 commit
  16. 17 Mar, 2021 2 commits
  17. 09 Mar, 2021 1 commit
  18. 05 Mar, 2021 1 commit
  19. 03 Mar, 2021 1 commit
  20. 23 Feb, 2021 1 commit
  21. 22 Feb, 2021 1 commit
  22. 18 Feb, 2021 1 commit
  23. 28 Jan, 2021 1 commit
  24. 21 Jan, 2021 1 commit
  25. 06 Jan, 2021 1 commit
  26. 19 Dec, 2020 1 commit
  27. 08 Sep, 2020 1 commit
  28. 10 Aug, 2020 1 commit