Quote:
Originally Posted by davidfor
Quote:
And...is NOT the expression for the blank space?
|
From memory, the only way to get the blank is with the "false" comparison. So, "#r2ryesno:false". Or, for the books that have not been assigned to any of the lists:
Code:
#r2ryesno:false and #yesnoread:false and #yesno:false
|
Just for completeness ...
The empty value is usually referred to as "undefined".
There are several ways of searching for combinations of the three values normally found in yes/no columns, described
in the manual. However, the text currently in the manual isn't quite correct. I have changed it to be:
Quote:
Yes/no custom columns are searchable. Searching for ``false``, ``empty``, or ``blank`` will find all books with undefined values in the column. Searching for ``true`` will find all books that do not have undefined values in the column. Searching for ``yes`` or ``checked`` will find all books with ``Yes`` in the column. Searching for ``no`` or ``unchecked`` will find all books with ``No`` in the column. Note that the words ``yes``, ``no``, ``blank``, ``empty``, ``checked`` and ``unchecked`` are translated; you can use either the current language's equivalent word or the English word. The words ``true`` and ``false`` and the special values ``_yes``, ``_no``, and ``_empty`` are not translated.
|
The changes were to note that the English words are always available and that the special value "_empty" exists.