Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Possible to add paging to views?


_ck_
Participant

@_ck_

Okay I think everything broke with 0.8.3 and the replacement bb_query class.

Prior to 0.8.3, all views did a bb_count_last_query() to determine the entire result count vs. the query with a LIMIT. This is how pagination was determined (via $view_count / $page)

But the new bb_query_class is short-sighted as it simply returns the number of results it found with the LIMIT attached, which is useless.

This essentially is a bug. Surprised no-one noticed it sooner. I don’t have 0.8.3 running on any large site so I never saw it before.

I’m trying to find a work-around for my own plugins (ie. “my-views”) but this will affect any plugin developer working with views.

Skip to toolbar