Atualizando abas documentos
This commit is contained in:
parent
593d9d875c
commit
d80755bd3a
1 changed files with 2 additions and 2 deletions
4
vendor/model/Documents.class.php
vendored
4
vendor/model/Documents.class.php
vendored
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue