WIP Suche implementiert, sowie Sortieren der Ergebnisse #19

Merged
niklas.ortmann merged 54 commits from ImplementedSearch into dev 2026-06-03 16:07:42 +02:00
Showing only changes of commit 1c72a03f26 - Show all commits
+4 -4
View File
2
@@ -75,15 +75,15 @@ $resultCount = count($results);
<?php if ($resultCount === 0): ?>
<p>Keine Beiträge zu diesem Suchbegriff gefunden.</p>
<?php else: ?>
<?php foreach ($results as $item): ?>
<?php foreach ($results as $item): ?>
<div class="s-res-item">
<div class="s-res-content">
<h2 class="s-res-item-title">
<a href="index.php?pfad=showArticle&id=<?php echo $item->id; ?>" class="s-res-link">
<?php echo htmlspecialchars($item->title); ?>
<a href="index.php?pfad=showArticle&id=<?php echo $item['id']; ?>" class="s-res-link">
<?php echo htmlspecialchars($item['title']); ?>
</a>
</h2>
<p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($item->author); ?></span></p>
<p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($item['author']); ?></span></p>
</div>
<div class="s-res-arrow">&rarr;</div>
</div>