[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.3-106-gb3f28f91b
? sunnavy
sunnavy at bestpractical.com
Fri Dec 14 13:54:39 EST 2018
The branch, 4.4-trunk has been updated
via b3f28f91b2028ed6c3f8cc08fdd9c35642993e68 (commit)
via 1194f1b28d5d1dd77799478fe635f6f392bb004c (commit)
from 4c5ce27d2481020cce87d5dbc0fa0187dc5b7800 (commit)
Summary of changes:
docs/query_builder.pod | 9 +++++++++
1 file changed, 9 insertions(+)
- Log -----------------------------------------------------------------
commit 1194f1b28d5d1dd77799478fe635f6f392bb004c
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..91f1ab7c8 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 'TransportType' that takes
+the values, 'Car', 'Bus' or 'Train'. If you were to search for all tickets that
+do not have 'TransportType' set to 'Car', this would result in a list of tickets
+with 'TransportType' values of 'Bus', 'Train', and '(no value)'. In order to ensure
+that custom fields with no set value are not included in the your search results,
+add the following to your query:
+
+AND CF.{TransportType} 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.
commit b3f28f91b2028ed6c3f8cc08fdd9c35642993e68
Merge: 4c5ce27d2 1194f1b28
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat Dec 15 02:52:48 2018 +0800
Merge branch '4.4/update-qb-null-search-details' into 4.4-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list