We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a454f6 commit 3477c4bCopy full SHA for 3477c4b
src/Database/Paginator/SimplePaginator.ts
@@ -71,7 +71,7 @@ export class SimplePaginator extends Array implements SimplePaginatorContract<an
71
/**
72
* Find if there are enough results to be paginated or not
73
*/
74
- public readonly hasPages: boolean = this.currentPage !== 1 || this.hasMorePages
+ public readonly hasPages: boolean = this.lastPage !== 1
75
76
constructor(
77
private totalNumber: number,
0 commit comments