Upload via GUI (267 Dateien)

This commit is contained in:
2026-10-19 18:06:00 +00:00
parent c800be9693
commit 51656d6578
13 changed files with 516 additions and 54 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ if ($editTopic) {
$cfStmt = $pdo->prepare('SELECT * FROM custom_fields WHERE help_topic_id = ? ORDER BY sort_order, label');
$cfStmt->execute([$editTopic['id']]);
$topicFields = $cfStmt->fetchAll();
$globalFields = $pdo->query('SELECT * FROM custom_fields WHERE help_topic_id IS NULL AND is_active = 1 ORDER BY sort_order, label')->fetchAll();
$globalFields = $pdo->query('SELECT * FROM custom_fields WHERE help_topic_id IS NULL AND department_id IS NULL AND is_active = 1 ORDER BY sort_order, label')->fetchAll();
}
$sortMode = ($_GET['sort'] ?? 'alpha') === 'manual' ? 'manual' : 'alpha';
$topics = $pdo->query(