[wp-trac] Re: [WordPress Trac] #4895: Tag unions and intersections

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 3 04:00:27 GMT 2007


#4895: Tag unions and intersections
----------------------------+-----------------------------------------------
 Reporter:  ryan            |        Owner:  anonymous
     Type:  defect          |       Status:  reopened 
 Priority:  normal          |    Milestone:  2.3      
Component:  General         |      Version:  2.3      
 Severity:  normal          |   Resolution:           
 Keywords:  taxonomy, tags  |  
----------------------------+-----------------------------------------------
Changes (by ryan):

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

Old description:

> As was done for categories in #4750, let's add private tag__in, tag__and,
> and tag__not_in query vars.

New description:

 As was done for categories in #4750, let's add private tag__in, tag__and,
 and tag__not_in query vars.

 Let's also decide on how to specify intersections and unions in the public
 query vars. We have tag_id and tag.  tag_id currently takes a single
 numeric ID, and tag takes a single tag slug.  tag is the var we use when
 creating links and such.  tag_is isn't exposed anywhere at the moment. I
 think we can extend tag to allow the use of "+" to request tag
 intersections and commas to request unions.  Only one or the other can be
 specified in the same request.

 tag+tag2+tag3

 tag,tag2,tag3

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4895#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list