Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix pagination total page number

See original GitHub issue

Describe the bug For now, the total page number is hard coded.

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘Home Page’
  2. Scroll down to ‘1’
  3. See error

Expected behavior The total page number will be calculated during the producing of pages template. If there is only one page, then return max number of pages = 1

Screenshots Imgur

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

frankmckechniecommented, Nov 2, 2018

@calpa Hey I will try to do this now 😃

calpacommented, Nov 2, 2018

@frankmckechnie Can you open another pull request?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Page Numbers in Word - Lifewire
To reset page numbers, go to Insert > Page Number > Remove Page Numbers. Do this for each section. To adjust page numbering,...
Read more >
Include total number of pages in the page number
Go to Insert > Page Numbers · Select Include Page Count for an X of Y format. · Choose a location.
Read more >
Getting a Proper Total Page Count - Word Ribbon Tips
Position the insertion point just before the Y page number. · Delete the Y page number field. · Press Ctrl+F9. · Type an...
Read more >
pagination logic in calculating total of pages - Stack Overflow
Divide total_items by limit , and round the value up. Math.ceil(total_items/limit); 50 items / 10 per page = 5 pages 55 items /...
Read more >
Fix Your Page Numbers - YouTube
This video shows how to fix your page numbers in MS WORD.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found