diff options
| author | Hunternif <hunternif@gmail.com> | 2022-09-18 03:51:38 +0100 |
|---|---|---|
| committer | Hunternif <hunternif@gmail.com> | 2022-09-18 03:51:38 +0100 |
| commit | 13e8b5d99a10b8f673e99b69b730e942ba23f0e5 (patch) | |
| tree | b5f3ca8242ccb0390846b19955da2f0dc158f06e | |
| parent | c913edd67c2c68639f860c3bd6bf52c879f742af (diff) | |
client: don't show the same post in similar posts
| -rw-r--r-- | client/js/controls/post_readonly_sidebar_control.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/js/controls/post_readonly_sidebar_control.js b/client/js/controls/post_readonly_sidebar_control.js index e7cff10..35cad8f 100644 --- a/client/js/controls/post_readonly_sidebar_control.js +++ b/client/js/controls/post_readonly_sidebar_control.js @@ -241,7 +241,7 @@ class PostReadonlySidebarControl extends events.EventTarget { _loadSimilarPosts() { return PostList.search( - "similar:" + this._post.id, + "similar:" + this._post.id + " -id:" + this._post.id, 0, parseInt(settings.get().similarPosts), ["id", "thumbnailUrl"], |