[Rt-commit] rt branch, 4.4/update-qb-null-search-details, created. rt-4.4.2-74-g73c4c8da1

Maureen Mirville maureen at bestpractical.com
Wed Feb 14 11:06:19 EST 2018


The branch, 4.4/update-qb-null-search-details has been created
        at  73c4c8da1a08d71c63696974ab4b3828b1614f0e (commit)

- Log -----------------------------------------------------------------
commit 73c4c8da1a08d71c63696974ab4b3828b1614f0e
Author: Maureen E. Mirville <maureen at bestpractical.com>
Date:   Wed Feb 14 11:04:04 2018 -0500

    Update query builder docs to explain NOT NULL in CF searches

diff --git a/docs/query_builder.pod b/docs/query_builder.pod
index c84b40e60..5455fd850 100644
--- a/docs/query_builder.pod
+++ b/docs/query_builder.pod
@@ -131,6 +131,15 @@ The same pieces of information are now spread across the display next to one
 another, which can be harder to read. So when you tell RT to display a lot of
 columns, it's usually worth adding a well-placed NEWLINE.
 
+Let's say, for example, you have a custom field named 'FlightBooked' that takes
+the values, 'true' or 'false'. If you were to search for all tickets that do not
+have the custom field value, 'true', this would results in a list of tickets with
+the value 'false' and (no value). In order to make sure that custom fields that
+have no set value are not included in the your search results, add the following
+to your query:
+
+AND CF.{'FlightBooked'} IS NOT NULL
+
 And there are the basics of the query builder! To implement these basics to
 build reports, please see the Dashboard & Reports document. For definitions of
 piece of RT metadata, please see the Definitions of Ticket Metadata document.

-----------------------------------------------------------------------


More information about the rt-commit mailing list