MoeMemosAndroid
MoeMemosAndroid copied to clipboard
探索页面他人动态强制置顶
目前多用户状态下,A用户置顶某条笔记后,在B用户探索页面也会置顶。 希望在多用户状态下,A用户、B用户置顶笔记的内容在探索页面互不影响。
Moe Memos doesn't sort memos on client side in Explore page because of pagination, it keeps the sort order of server response.
According to https://github.com/usememos/memos/blob/d3e32f0d5abeb5fadb95b31f1fe0e1aa91e137b2/store/db/sqlite/memo.go#L99 (which https://github.com/usememos/memos/blob/57c5a924271869a5600e78d0f057afc48e7fd24f/api/v1/memo.go#L405 uses), the server api does return pinned memos first, regardless of users.
However it seems the web page of Memos does resort the memos by its creation date regardless of pin status, but it may cause memos appearing on unexpected position (because of pagination).
这个问题在新版本中似乎已经被修复,之前在Web端的探索页面确实会将他人用户置顶内容,显示在所有用户的探索页面中,但目前已经不会了。
Issue is not in English. It has been translated automatically.
This problem seems to have been fixed in the new version. Previously, the exploration page on the web would indeed display the top content of other users in the exploration page of all users, but this is no longer the case.
非常抱歉,刚才评论的时候不小心关闭了这个问题,但由于仍然存在该问题,我现在将它重启打开,以供讨论。
Issue is not in English. It has been translated automatically.
Sorry, I accidentally closed this question when I commented just now, but since the problem still exists, I will reopen it now for discussion.
Memos 0.22 has an order_by_pinned
filter which is only used in the default memo list. So pin status won't affect Explore page now.