Filtering by not
This is an open discussion with 9 replies, filed under General.
Search
What about not-regexp:
Check this conversation
not: foo or not: {$foo}, if that's a variable
Thanks guys,
@cotiunix tried your suggestion, but it seems not working on 2.3.2 ("No records found.")
agains what kind of field you've added the filter?
i've made a test on 2.3.2 with default text input field
- i have an articles section
- with two entries
- Article 1: This is an apple
- Article 2: That is an apple
with no filtering i get both entries
if i filter with not-regexp:^that, i'll get only the first one
home that helps
Ok now I caught the nuance, not-regexp is for textfields, which is my case.
In what context is not: foo used?..
it works on select box link field
also for text fields, you shoul use text box field; it createas unique handles if you have entries with the same title
it works on select box field
It works on a Select Box Link field, but not a Select Box field :( Tried both fields just now.
To use not
on the Select Box or Taglist fields, you need to use not-regexp
:)
Create an account or sign in to comment.
Hello,
I'd like to get all entries from a section, save one I really dislike. In the datasource filter by name I tried these:
but none worked. Any hint?
Thanks!