Bug recherche auteur ok

This commit is contained in:
laura.chevillet 2026-01-21 16:17:57 +01:00
parent 411b19df58
commit e15003fc5c
5 changed files with 33 additions and 34 deletions

View file

@ -36,7 +36,7 @@
}
// Recherche par catégorie
if ($intAuthor > 0){
if ($intCategory > 0){
$strRq .= $strWhere." project_category = ".$intCategory;
$strWhere = " AND ";
}
@ -70,6 +70,7 @@
}
// Lancer la requête et récupérer les résultats
var_dump($strRq);
return $this->_db->query($strRq)->fetchAll();
}
}