[wp-trac] Re: [WordPress Trac] #739: View by days doesn't work

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 31 20:48:52 GMT 2006


#739: View by days doesn't work
---------------------+------------------------------------------------------
       Id:  739      |      Status:  assigned                
Component:  General  |    Modified:  Fri Mar 31 20:48:52 2006
 Severity:  major    |   Milestone:  2.1                     
 Priority:  normal   |     Version:  1.5                     
    Owner:  westi    |    Reporter:  Technosailor            
---------------------+------------------------------------------------------
Changes (by westi):

  * keywords:  => bg|has-patch bg|2nd-opinion bg|dev-feedback
  * status:  new => assigned

Comment:

 Ok I've worked a patch on this which switches to querying on true days
 rather than post  days.

 This also saves us a couple of queries when in this mode per page view as
 we don't have to work out how to bound ourselves for the "post days"

 __Known issues:__
  1. If you have no posts recent enough for the first page then it will
 return as if you queried for nothing
  1. The Paging code is bust as it currently only works out how many pages
 to do based on the number of posts in existance which doesn't match well
 with this query type - see {{{_max_num_pages}}} in {{{template-function-
 links.php}}}

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


More information about the wp-trac mailing list