Loading...
 
Skip to main content

Features / Usability


Plugin TRACKERLIST and filter "not(value)" and "categories(x)"

(1) I would like to use the filter "not(value)" inside the plugin TRACKERLIST.
But it doesn't work. I use the following syntax and I want to list all tacker items which doesn't contains the word "test" in the field 2:

{TRACKERLIST(trackerId=1, fields=2:3, filterfield=2, not(test) /}

I think there is something wrong with my syntax.
But all my other test won't work too.


(2) I have another problem with the filter "categories(x)".
Here I use the following syntax to list all items with the category 4:

{TRACKERLIST(trackerId=1, fields=2:3, categories(4)) /}

Also, it doesn't work.


Thanks a lot for your help.

andi6803 wrote:
(1) I would like to use the filter ...

At least for categories, I have a similar problem and finally works (as long as I remember) using something like this:

{TRACKERLIST(..., filterfield=X, exactvalue="categories(Y)"...

where X is the field that contain the category in the tracker and Y is the id of the parent category to filter.

It seems that in PluginTrackerList documentation, all that entries in bold after "exactvalue" are exactvalue's possible parameters, so I guess that it could work also for "not()", "preference()", "less()" and the others.

Hope that this help.

{QUOTE(replyto=>ayachan)}
andi6803 wrote:
(1) I would like to use the filter ...
{QUOTE(replyto=>ayachan)}
andi6803 wrote:
(1) I would like to use the filter ...

Sorry, my reply was understood as wiki commands. My answer really was:

At least for categories, I have a similar problem and finally works (as long as I remember) using something like this:

Copy to clipboard
{TRACKERLIST(..., filterfield=X, exactvalue="categories(Y)"...

where X is the field that contain the category in the tracker and Y is the id of the parent category to filter.

It seems that in Plugin-Tracker-List documentation, all that entries in bold after "exactvalue" are exactvalue's possible parameters, so I guess that it could work also for "not()", "preference()", "less()" and the others.

Hope that this help.

It works!
I test it with "categories(x)" and "not(value)"
Many thanks!