Upload via GUI (267 Dateien)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user