summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Mateescu2011-10-15 22:38:40 (GMT)
committer Andrei Mateescu2011-10-15 22:38:40 (GMT)
commita41c123724e93e80d9e13f73c5341bc04bce65b9 (patch)
treea01b32afbe33ee877b77c088d0dc6de158678a01
parent136e46fd1c7a62210adb4170317bf6ac3e0b4918 (diff)
Issue #1215994 by amateescu: Views filter 'In Queue' drops first node in the queue.
-rw-r--r--includes/views/nodequeue_handler_filter_in_queue.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/views/nodequeue_handler_filter_in_queue.inc b/includes/views/nodequeue_handler_filter_in_queue.inc
index 2d2f502..108c32b 100644
--- a/includes/views/nodequeue_handler_filter_in_queue.inc
+++ b/includes/views/nodequeue_handler_filter_in_queue.inc
@@ -7,6 +7,6 @@
class nodequeue_handler_filter_in_queue extends views_handler_filter_boolean_operator {
function query() {
$this->ensure_my_table();
- $this->query->add_where($this->options['group'], $this->table_alias . ".nid", $this->value, ($this->value ? '!=' : 'IS NULL'));
+ $this->query->add_where($this->options['group'], $this->table_alias . ".nid", 0, ($this->value ? '!=' : 'IS NULL'));
}
}