diff --git a/lib/class.entryquerytextboxadapter.php b/lib/class.entryquerytextboxadapter.php index 52d802f..cf3d62f 100644 --- a/lib/class.entryquerytextboxadapter.php +++ b/lib/class.entryquerytextboxadapter.php @@ -110,7 +110,7 @@ protected function filterSingle(EntryQuery $query, $filter) } elseif ($this->isFilterSQL($filter)) { return $this->createFilterSQL($filter, $this->getFilterColumns()); } elseif ($this->isFilterBoolean($filter)) { - return $this->createFilterBoolean($filter, $this->getFilterColumns()); + return $this->createFilterBoolean($filter, $this->getBooleanFilterColumns()); } elseif ($this->isFilterContains($filter)) { return $this->createFilterContains($filter, $this->getFilterColumns()); } elseif ($this->isFilterHandle($filter)) { @@ -124,6 +124,11 @@ public function getHandleFilterColumns() return ['handle']; } + public function getBooleanFilterColumns() + { + return ['value']; + } + public function getFilterColumns() { return ['value', 'handle'];