summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-07-06 08:28:20 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-07-06 08:28:20 -0700
commit3a59ca011335f53b443ed46dd1f7454cb596adf2 (patch)
tree63bcfdc5105e2c91829563020e5f89312a9605d4
parentd6272db16eb2d2b11fd1901c4068170377d2d562 (diff)
downloadbrdo-3a59ca011335f53b443ed46dd1f7454cb596adf2.tar.gz
brdo-3a59ca011335f53b443ed46dd1f7454cb596adf2.tar.bz2
Issue #1662950 by bxtaylor, chx, mjonesdinero: Add note to EntityFieldQuery methods that exclude rows where fields are empty
-rw-r--r--includes/entity.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/entity.inc b/includes/entity.inc
index ae7807794..96cc6e0ba 100644
--- a/includes/entity.inc
+++ b/includes/entity.inc
@@ -634,6 +634,9 @@ class EntityFieldQuery {
/**
* Adds a condition on field values.
+ *
+ * Note that entities with empty field values will be excluded from the
+ * EntityFieldQuery results when using this method.
*
* @param $field
* Either a field name or a field array.
@@ -858,7 +861,9 @@ class EntityFieldQuery {
* Orders the result set by a given field column.
*
* If called multiple times, the query will order by each specified column in
- * the order this method is called.
+ * the order this method is called. Note that entities with empty field
+ * values will be excluded from the EntityFieldQuery results when using this
+ * method.
*
* @param $field
* Either a field name or a field array.