Opened 18 years ago
Closed 18 years ago
#3274 closed defect (bug) (fixed)
"Limit Posts to Category" breaks paging
Reported by: | alexkingorg | Owned by: | |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Using a plugin similar to Ryan Boren's Front Page Cats http://dev.wp-plugins.org/browser/front-page-cats is breaking paging.
The problem is in _max_num_pages() - the $wpdb->get_var("SELECT COUNT... fails with the JOIN.
I've attached a patch, but I'm not crazy about the solution. However, since the query hooks allow this sort of join and there are no hooks in max_num_pages or the paging functions, it seems like a better solution that what we have now.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
patch