[racktables-users] Re: 'AND' Tag Filter

Hello, James.

> When I use the tag filter it looks like it's doing a logical 'OR' getting all 
> results that match all tags selected.  Is there any way to do an 'AND' so I 
> only get results that match both tags?

The current logic is an exact implementation of the "OR" way.

> For example, I have 3 layers, Application, Database and Web and multiple 
> Customers (A, B, C).  I have tagged all objects with a layer and customer(s) 
> (some objects have multiple customers).  When I select Application and 
> customer A, I currently get all objects have either an Application tag OR a 
> customer tag.  I'd like to get just objects that are both for customer A AND 
> in the Application layer.

Missing "AND" is annoying me too, I'd like to see it just working. The
only reason it wasn't present in the initial implementation is that the
filter SQL code turned to be way tricky at that moment. I will try
taking care about it later this winter.

Other related posts: