-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
希望可以对友链”分组“进行排序 #1905
Labels
area/console
Issues or PRs related to the Halo Console
area/core
Issues or PRs related to the Halo Core
kind/feature
Categorizes issue or PR as related to a new feature.
Milestone
Comments
感谢反馈,目前由于分组字段是存在友链的表当中的,所以要对分组排序也就意味着对分组下的所有友链进行排序。所以目前问题就变成了对所有友链的排序。 对此提供一种方案: 对于后端:
对于前端:
最终所呈现的效果可能是这样: 由于目前我们正在进行 2.0 版本的开发,所以可能并没有时间来增加 1.x 的功能,期待大家来实现这个特性。 /kind feature |
f2c-ci-robot
bot
added
the
kind/feature
Categorizes issue or PR as related to a new feature.
label
Apr 28, 2022
ok |
如果有兴趣,可以评论 |
在不修改数据库表的前提下对分组进行排序,我认为分组排序和组内友链的排序可以共用一个priority字段(team字段不做排序)。即将分组内最大的友链priority作为该分组的priority。
|
/assign |
/milestone 1.6.x |
/area core |
f2c-ci-robot
bot
added
area/core
Issues or PRs related to the Halo Core
area/console
Issues or PRs related to the Halo Console
labels
May 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/console
Issues or PRs related to the Halo Console
area/core
Issues or PRs related to the Halo Core
kind/feature
Categorizes issue or PR as related to a new feature.
Your current Halo version
1.5.2
Describe this feature
目前,链接(友链)的分组还无法排序,有多个分组时,无法将重要分组放在满意的位置
Additional information
No response
The text was updated successfully, but these errors were encountered: