Database - und LocalArticleManager angepasst, sodass nun auch nach tags gesucht wird. #47

Merged
niklas.ortmann merged 2 commits from SearchByTags into dev 2026-07-01 19:15:06 +02:00
Showing only changes of commit 7a4f2d738f - Show all commits
+1 -1
View File
@@ -338,7 +338,7 @@ 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);