diff options
| author | julian laplace <julescarbon@gmail.com> | 2022-10-26 17:11:01 +0200 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2022-10-26 17:11:01 +0200 |
| commit | 613b1618482fdd16ad80d8dd8a7e3ab0345617f2 (patch) | |
| tree | 2acc9c3884d420baa2f4f4715c78becbaeeb7bf8 /bucky | |
| parent | dd72ab05da17309fd5ee6005cdc1fae686b5fa9e (diff) | |
browse like its a profile, very nice
Diffstat (limited to 'bucky')
| -rw-r--r-- | bucky/db/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/db/index.js b/bucky/db/index.js index 2a1a3bf..2e6deab 100644 --- a/bucky/db/index.js +++ b/bucky/db/index.js @@ -129,7 +129,7 @@ db.getHootstreamFiles = ({ limit, offset, thread, keyword, username }) => builder.where("threads.id", thread); } if (username) { - builder.where("comments.username", username); + builder.where("files.username", username); } }) .orderBy("files.id", "desc") |
