[wp-trac] [WordPress Trac] #15983: Pagination controls aren't shown when an AJAX request returns more than one page

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 26 06:04:27 UTC 2010


#15983: Pagination controls aren't shown when an AJAX request returns more than one
page
----------------------------+-----------------
 Reporter:  nacin           |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.1
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
----------------------------+-----------------
 If you run a filter or search to the point where you have only one page of
 results, you won't have any pagination controls. (You'll need to refresh
 the page or what not in order to make sure no controls are rendered.)

 Then, clear the filter or the search. You'll end up with many pages of
 results, but no pagination controls.

 Suggested fix: Always print the paginated controls (only if max items >
 number per page, if preferred). Hide them with CSS as appropriate (inject
 a display:none or something). Then show if necessary after an AJAX result.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15983>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list