[Bb-trac] Re: [bbPress] #727: BB_Query has no method to append WHERE - proposal for fix

bbPress bb-trac at lists.bbpress.org
Fri Aug 10 21:44:32 GMT 2007


#727: BB_Query has no method to append WHERE - proposal for fix
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |        Owner:                   
     Type:  defect    |       Status:  new              
 Priority:  high      |    Milestone:                   
Component:  Back-end  |      Version:  1.0-alpha (trunk)
 Severity:  normal    |   Resolution:                   
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by mdawaffe):

 {{{get_latest_topics_where}}} should still work.

 {{{BB_Query:_filter_sql()}}} does this around line 618 for distinct,
 sql_calc_found_rows, fields, join, where, group_by, having, and order_by.
 ({{{get_latest_topics_having}}}, {{{get_latest_topics_join}}}, ...)

 It's much harder to see that it's doing that, now.  But it does still do
 it.

 If it doesn't work, it's a bug.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/727#comment:1>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list