Commit 04fa7d7
fix(pagination): prevent integer overflow in typesense pagination (#924)
* fix(pagination): prevent integer overflow in typesense pagination
- add test to verify pagination works correctly with overflow page numbers
* chore: lint
* Update TypesenseEngine.php
---------
Co-authored-by: Taylor Otwell <[email protected]>1 parent 9a8eaec commit 04fa7d7
File tree
2 files changed
+24
-0
lines changed- src/Engines
- tests/Integration
2 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
231 | 240 | | |
232 | 241 | | |
233 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
226 | 241 | | |
227 | 242 | | |
228 | 243 | | |
| |||
0 commit comments