DataTables / DataTables/Plugins
when setting page value to 0 i got the page range from -9 to 0
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
when i was using the input pagination plugin, when i inserted 0 as page value the plugin worked fine as it was 1 but the paging text was "showing -9 to 0 of 25,610 entries"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the input pagination plugin and reproduce the case where the page value is 0. Trace how the page range is calculated and verify that the displayed range never starts at a negative value while still reporting the total of 25,610 entries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100