Is it me or is there a typo on the basic filtering example page for Ditto?
http://ditto.modxcms.com/tutorials/basic_filtering.html
The filter
id,50,2|id,52,2
means "exclude any document whose id field equals 50 or 52."
Then the table below that cites that a mode of 2 will include or equal the criterion.
1
is not equal to the criterion (!=)
2
is equal to the criterion (==)
I’m not putting it past myself that I’m completely misunderstanding the page but this just doesn’t seem right.
I twitch because I care....and drink too much coffee.
ah ha! Thanks Mithrandir. I never fully read the heading. That makes sense. I tend to try to skip ahead (too much it seems) and was just looking at the table data and not the whole table.
*** Insert foot in mouth!
I twitch because I care....and drink too much coffee.