Skip to content

[Bug] V2 website ordering issue #9979

@jimes222

Description

@jimes222

Contact Information

No response

1Panel Version

社区版 2.0.8

Problem Description

将 1Panel 从社区版 v1.10.32-lts 升级到 2.0.0 后,站点的先后顺序被打乱(升级前后都没有手动点击排序);
1.x 是按照创建的先后次序排序的,2.x 似乎是按照某种特定方式排序(截图打了一部分码,但大致能看出来排序不是按照数字或字母的先后顺序排序),在 2.x 中,新创建的站点也不会在网站列表的最顶部;
或许也不能算 Bug,只是反馈一下这个情况是否符合预期。
Image

Steps to Reproduce

社区版 v1.10.32-lts 升级到 2.0.0 就会出现这种情况,更新到 2.0.8 后依然如此。

The expected correct result

保持原来的网站顺序,或者按数字或字母的先后顺序排序(这种方式可能更便于查找特定网站)。

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions