refactoring
This commit is contained in:
@@ -22,9 +22,6 @@ if ($_SERVER["REQUEST_METHOD"] === "GET" && isset($_GET["q"])) {
|
||||
|
||||
$results = $articleManager->search($search);
|
||||
|
||||
// Sortierung/Filterung passiert nicht mehr hier, sondern zentral in
|
||||
// content/search-results.php (No-JS) bzw. search-results-data.php (JS),
|
||||
// damit ein Sortier-/Filterwechsel keine erneute Suche mehr braucht.
|
||||
$safeArrayResults = [];
|
||||
foreach ($results as $obj) {
|
||||
$safeArrayResults[] = [
|
||||
|
||||
Reference in New Issue
Block a user