mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
Add comments under posts and fix user profile
This commit is contained in:
parent
4c4481393d
commit
e86526761c
13 changed files with 201 additions and 42 deletions
|
@ -103,6 +103,7 @@ func (db *appdbimpl) GetComments(uid string, photo_id int64, requesting_uid stri
|
|||
AND "bans"."ban" = ?
|
||||
)
|
||||
AND "u"."uid" = "c"."user"
|
||||
ORDER BY "c"."date" DESC
|
||||
LIMIT ?
|
||||
OFFSET ?`, photo_id, requesting_uid, limit, start_index)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue