Atualizando abas documentos

This commit is contained in:
Kenio 2025-08-22 07:20:38 -03:00
parent 593d9d875c
commit d80755bd3a

View file

@ -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 */