Skip to content

Commit 7fdeda5

Browse files
committed
feat(formanswer): order formanswers by date desc
1 parent 844ef96 commit 7fdeda5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

inc/formanswer.class.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,4 +2039,11 @@ public function getFileProperties(): array {
20392039
"_tag_filename" => $file_tags
20402040
];
20412041
}
2042+
2043+
public static function getDefaultSearchRequest(): array {
2044+
return [
2045+
'sort' => 6, // See self::rawSearchOptions()
2046+
'order' => 'DESC'
2047+
];
2048+
}
20422049
}

0 commit comments

Comments
 (0)