[racktables-users] AND/OR switch for tag selector
- From: Denis Ovsienko <pilot@xxxxxxxxxx>
- To: racktables-users@xxxxxxxxxxxxx
- Date: Sat, 2 May 2009 14:31:19 +0400
Hello, list.
The tag filter, which was introduced in the same version, which
featured tags (0.15.0), used to be working, but its application was
quite limited, because it only worked on tags and only used logical OR,
if more, than one tag was given in the filter. Although the first
obvious enhancement was to add 'AND/OR' switch, it turned to require a
lot of internal changes first. Today I want to present a first usable
implementation of the new filter. It allows tags, predicates and even
any arbitrary RackCode expression (one by one or all mixed together) as
a filter condition.
This new filter also solves the issue of listing unmounted objects.
Adding {$unmounted} into extra text field of the filter or properly
using it in a predicate --- everything, that's necessary now.
At the moment only files, users, networks and objects can be filtered
with the new filter. After making sure nothing was missed I will
switch the remaining realms to the new filtering feature. So basically
everything I'm asking about now is to test:
http://racktables.org/demo/trunk/?andor=or&cft[]=4&cft[]=3&cfe=&page=depot&tab=default&submit.x=11&submit.y=6
Good luck.
Other related posts:
- » [racktables-users] AND/OR switch for tag selector - Denis Ovsienko