Update der Suchfunktionen um nach tags zu suchen
This commit is contained in:
@@ -338,7 +338,8 @@ class DatabaseArticleManager implements ArticleManagerDAO {
|
||||
$sql = "SELECT id, title, content, author, category, tags, created
|
||||
FROM articles
|
||||
WHERE title LIKE :keyword
|
||||
OR content LIKE :keyword;";
|
||||
OR content LIKE :keyword;
|
||||
OR tags LIKE :keyword";
|
||||
|
||||
$command = $db->prepare($sql);
|
||||
if (!$command) {
|
||||
|
||||
Reference in New Issue
Block a user