diff --git a/vendor/model/Documents.class.php b/vendor/model/Documents.class.php index 5cafbbf..d3a12ce 100644 --- a/vendor/model/Documents.class.php +++ b/vendor/model/Documents.class.php @@ -121,7 +121,7 @@ class Documents if($this->documentsCategorysId > 0){ $this->and = " and d.documents_categorys_id = {$this->documentsCategorysId}"; - $this->and .= " and json_search(tag, 'all', '".$this->tag."', null, '$.".$this->label."') is not null"; + //$this->and .= " and json_search(tag, 'all', '".$this->tag."', null, '$.".$this->label."') is not null"; } /** Verifico se há paginação */ @@ -177,7 +177,7 @@ class Documents if($this->documentsCategorysId > 0){ $this->and = " and documents_categorys_id = {$this->documentsCategorysId}"; - $this->and .= " and json_search(tag, 'all', '".$this->tag."', null, '$.".$this->label."') is not null"; + //$this->and .= " and json_search(tag, 'all', '".$this->tag."', null, '$.".$this->label."') is not null"; } /** Consulta SQL */