Skip to content
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

批量添加的数据库条目无法按创建时间排序 #11348

Closed
TCOTC opened this issue May 11, 2024 · 5 comments
Closed

批量添加的数据库条目无法按创建时间排序 #11348

TCOTC opened this issue May 11, 2024 · 5 comments
Assignees

Comments

@TCOTC
Copy link
Contributor

TCOTC commented May 11, 2024

In what scenarios do you need this feature?

image

升序和降序都是一样的:

default.webm

Describe the optimal solution

批量创建的条目,从上到下,创建时间应该是从早到晚的

Describe the candidate solution

No response

Other information

No response

@88250 88250 self-assigned this May 12, 2024
@88250
Copy link
Member

88250 commented May 12, 2024

批量创建的话创建时间都是一样的(目前时间不一样有点问题,稍后调整),所以升序降序不影响排序,参考飞书文档的逻辑。

@TCOTC
Copy link
Contributor Author

TCOTC commented May 12, 2024

@88250 飞书的批量创建时间也是不同的啊:从上到下,创建时间是从早到晚

只是飞书对创建时间的排序是看字符串的,只能精确到分钟。但思源应该可以精确到毫秒吧?

image

@88250
Copy link
Member

88250 commented May 12, 2024

思源是毫秒的,但是我觉得批量创建的话创建时间就应该是一样的,因为他们都在“一批”里。

@TCOTC
Copy link
Contributor Author

TCOTC commented May 12, 2024

我觉得从逻辑上讲批量创建的作用原本就是代替一次次点击「添加」,点击「添加」是有次序的,所以批量创建也要有次序。

并且我想了想, 在上方插入 N 行在下方插入 N 行 还不一样:

  • 在上方插入 N 行从下到上,创建时间应该是从早到晚的
  • 在下方插入 N 行从上到下,创建时间应该是从早到晚的

@88250
Copy link
Member

88250 commented May 12, 2024

这个暂时不做调整了,等后面继续收集反馈看看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants