demo
demo copied to clipboard
when the page number > total pages ,it will cause 500 error
when the page number > total pages ,it will cause 500 error , this is a temp fix,
it seems to fix in OffsetPaginator method withCurrentPage will be better,
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | comma-separated list of tickets # fixed by the PR, if any |
it's better to fix in OffsetPaginator method withCurrentPage, won't need to modify other code
@TiaNex-Com Can you show stack trace of error?
How about this solution: https://github.com/yiisoft/data/issues/206?