Sign In

No Updating Of Top Page-number Buttons (at least on pages 2 thru 5)

Replies
2
Author
Time

It looks like the numbering function starts updating the top page-number buttons only on page “6” and thereafter. From page “2” through “5”, the button sequence remains 1 through 4. There is no way to use them to go to page “5” when on page “4”, nor to go to page “6” when on page “5”:

It’s probably a good idea to double check the logic and math for all min/max limits (I once received an empty/error page somewhere when inadvertently hitting the max-end button).

BTW, as a suggestion for design symmetry, both end “bracket” buttons should display the visual-cue “PAGE ###”.


“Your love of the halflings’ leaf has clearly slowed your mind”

Author
Time

Spaced Ranger said:
(I once received an empty/error page somewhere when inadvertently hitting the max-end button).

Ah, found it! On the Off Topic (Unmoderated) list page, by clicking the last listing page number “182” (not signed in at the time, if that makes any difference), I received this error notice:

: - (

Error: syntax error at or near ")"
at EventEmitter.<anonymous> (/srv/www/originaltrilogy.com/comitium/node_modules/citizen/lib/helpers.js:246:13)
at emitOne (events.js:96:13)
at EventEmitter.emit (events.js:188:7)
at /srv/www/originaltrilogy.com/comitium/app/patterns/controllers/discussion.js:132:25
at groupTracker (/srv/www/originaltrilogy.com/comitium/node_modules/citizen/lib/helpers.js:298:9)
at EventEmitter.<anonymous> (/srv/www/originaltrilogy.com/comitium/node_modules/citizen/lib/helpers.js:244:7)
at emitOne (events.js:96:13)
at EventEmitter.emit (events.js:188:7)
at .<anonymous> (/srv/www/originaltrilogy.com/comitium/app/patterns/models/user.js:1085:21)
at nrWrappedHandler (/srv/www/originaltrilogy.com/comitium/node_modules/newrelic/lib/transaction/tracer/index.js:372:19)


“Your love of the halflings’ leaf has clearly slowed your mind”

Author
Time

Pagination has been fixed, but the error you experienced is a different issue that I’ll have to resolve later.

The things you pwn end up pwning you.

To the top