lsmith / yui3-gallery

YUI3 Gallery Modules
http://yuilibrary.com/gallery
8 stars 3 forks source link

paginator gives incorrect page if total records changes #7

Closed murdog05 closed 12 years ago

murdog05 commented 12 years ago

If I have 104 pages of data, and I decrease the total items such that the total pages goes to 35, then press last, the current page is 104, not 35, which causes invalid data results to be displayed.

lsmith commented 12 years ago

Eek, I'll get this patched up right away.

lsmith commented 12 years ago

Ok, I wasn't subscribing to all the core change events to keep the UI state in sync. Pushed to my fork, and will be in the next gallery push. Thanks!

murdog05 commented 12 years ago

You are the man.

On Mon, Apr 23, 2012 at 6:00 PM, Luke Smith < reply@reply.github.com

wrote:

Ok, I wasn't subscribing to all the core change events to keep the UI state in sync. Pushed to my fork, and will be in the next gallery push. Thanks!


Reply to this email directly or view it on GitHub: https://github.com/lsmith/yui3-gallery/issues/7#issuecomment-5293023