Make smart function for constructing pages for pagination #6

Open
opened 2015-09-17 23:10:08 +00:00 by Drezil · 0 comments
Drezil commented 2015-09-17 23:10:08 +00:00 (Migrated from github.com)

if you have current page at 50, total pages at 100 it should look like

1 2 ... 40 ... 49 50 51 52 ... 60 ... 100

=> make a function smart enough to extract that sequence out ouf [1..100] as it currently is.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26770462-make-smart-function-for-constructing-pages-for-pagination?utm_campaign=plugin&utm_content=tracker%2F13273168&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F13273168&utm_medium=issues&utm_source=github).
if you have current page at 50, total pages at 100 it should look like 1 2 ... 40 ... 49 50 51 52 ... 60 ... 100 => make a function smart enough to extract that sequence out ouf [1..100] as it currently is. ## <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26770462-make-smart-function-for-constructing-pages-for-pagination?utm_campaign=plugin&utm_content=tracker%2F13273168&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F13273168&utm_medium=issues&utm_source=github). </bountysource-plugin>
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Drezil/neat#6
No description provided.