Skip to content

Fix bug with sort descending

Pre-release
Pre-release
Compare
Choose a tag to compare
@brennemankyle brennemankyle released this 18 Jan 20:56
· 15 commits to main since this release

There is a clever calculation for previous and next page where we pull 1 extra item. However when it is sort descending it ends up removing the first item instead of the extra one it added. This fixes that bug

It also fixes a minor bug where hasPreviousPage and hasNextPage sometimes return null instead of false