Skip to content

The primary key sorting of the database panel fails in some cases #11621

Closed
@Jiangshuon

Description

@Jiangshuon
Contributor

属性面板中数据库列的顺序和本体不一致,在面板中调整后也不生效

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

20240602_043559_993_copy 20240602_043555_084_copy

Expected result

。。

Screenshot or screen recording presentation

No response

Version environment

- Version: 最新
- Operating System: win11
- Browser (if used):

Log file

。。

More information

No response

Activity

5kyfkr

5kyfkr commented on Jun 2, 2024

@5kyfkr

这个就是这样的特性,假设你有三四个镜像数据库,每个镜像库都有不同的列顺序,那要怎么确定属性视图对应哪个的顺序?所以两个是分离的,当然可以考虑只有一个主数据库的情况下可以保持列顺序同步,但是假设想在属性视图将重要的列调整到前面而不影响数据库里的排序,那又不行了,所以还是建议分离保持现状更好

TCOTC

TCOTC commented on Jun 2, 2024

@TCOTC
Contributor

这个是在 #11428 中修改的,属性界面的顺序与其他视图独立

Jiangshuon

Jiangshuon commented on Jun 2, 2024

@Jiangshuon
ContributorAuthor

主要问题是后半句,面板中调整顺序后无法生效

TCOTC

TCOTC commented on Jun 2, 2024

@TCOTC
5kyfkr

5kyfkr commented on Jun 2, 2024

@5kyfkr
13-26-49.mp4

我这边3.0.16试了能记住位置,记得以前修好过这个问题

TCOTC

TCOTC commented on Jun 2, 2024

@TCOTC
Contributor

@88250 属性面板的数据库字段顺序无法正常调整,这个文档可以复现问题:

问题数据库2.sy.zip

default.webm
self-assigned this
on Jun 3, 2024
changed the title [-]属性面板中数据库列的顺序和本体不一致,在面板中调整后也不生效[/-] [+]In some cases, the primary key sorting of the database panel fails[/+] on Jun 3, 2024
added this to the 3.0.17 milestone on Jun 3, 2024
changed the title [-]In some cases, the primary key sorting of the database panel fails[/-] [+]The primary key sorting of the database panel fails in some cases[/+] on Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@5kyfkr@Jiangshuon@TCOTC

      Issue actions

        The primary key sorting of the database panel fails in some cases · Issue #11621 · siyuan-note/siyuan