1602 / 1602/railway-pagination
negative page numbers
未关闭
- 主要语言
- JavaScript
- 星标
- 9
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
描述
If I add pagination logic to controller as described in the README then I get negative page numbers in the "paginate" view helper.
total: 9 objects
per page: 5
贡献指南
这个仓库没有索引到贡献指南
调研方向
The issue mentions a pagination logic in a controller and a 'paginate' view helper. Start by locating the pagination plugin's source code, likely in a lib or helper directory. Examine how total objects and per-page values are used to calculate page numbers. Look for any edge-case handling when total objects are less than per-page. Test the pagination with the given example (total: 9, per page: 5) to reproduce the negative numbers.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100