Previev Sorting Algorytm
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-21 12:06:10 +05:00
parent ecc3a4d321
commit e16d6258c3
3 changed files with 65 additions and 14 deletions

View File

@@ -77,9 +77,9 @@ namespace NeDvachAPI.DBControllers
FROM posts
WHERE
is_op = {true}
ORDER BY post_id DESC
ORDER BY thread_id DESC
) subquery
ORDER BY post_id ASC", conn))
ORDER BY thread_id ASC", conn))
{
var reader = command.ExecuteReader();