[Bb-trac] Re: [bbPress] #689: More flexible joining of topic meta tables in BB_Query class

bbPress bb-trac at lists.bbpress.org
Thu Jan 17 02:03:52 GMT 2008


#689: More flexible joining of topic meta tables in BB_Query class
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  sambauers        
     Type:  enhancement  |       Status:  reopened         
 Priority:  high         |    Milestone:  0.8.3 & BB_Query 
Component:  Back-end     |      Version:  1.0-alpha (trunk)
 Severity:  major        |   Resolution:                   
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Changes (by mdawaffe):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 I've been trying to do meta_key and meta_value queries and have run up
 against two things.

  1. I can't do a query that just looks for the existence of a meta_key
 without also specifying something for the meta_value ({{{>0}}} is a hack
 workaround).
  2. I can't specify the meta_value as {{{NULL}}} since {{{parse_value()}}}
 only looks for NULLs in array values, not single values.

 Attached 689.diff.

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


More information about the Bb-trac mailing list