diff options
| author | Till Glöggler <tgloeggl@uos.de> | 2025-06-25 14:53:39 +0000 |
|---|---|---|
| committer | Till Glöggler <till@gundk.it> | 2025-06-25 17:26:37 +0200 |
| commit | 52c41debdeba8fb2157f0f721c2a92841dd6fb76 (patch) | |
| tree | bda08d9a4e4fd77503afa9000262c533d902aa7c /lib | |
| parent | 562bf5da3de837ac29d33206bff19aac4907cdd5 (diff) | |
Do not show areas in last entries for forum
Closes #1769
Merge request studip/studip!4281
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/classes/ForumEntry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/ForumEntry.php b/lib/classes/ForumEntry.php index df3fbf9..4726dcb 100644 --- a/lib/classes/ForumEntry.php +++ b/lib/classes/ForumEntry.php @@ -685,7 +685,7 @@ class ForumEntry implements PrivacyObject return ['list' => $postings, 'count' => $stmt_count->fetchColumn()]; case 'latest': - return ForumEntry::getEntries($parent_id, ForumEntry::WITH_CHILDS, '', 'DESC', $start); + return ForumEntry::getEntries($parent_id, ForumEntry::WITH_CHILDS, 'AND depth > 1', 'DESC', $start); case 'favorites': $add = "AND ou.topic_id IS NOT NULL"; |
