Skip to content

数据库更新时间字段和创建时间字段增加逻辑选项:绑定块优先与条目优先 #12909

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

Closed
TCOTC opened this issue Oct 25, 2024 · 5 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Oct 25, 2024

现有的更新时间字段和创建时间字段都是绑定块的属性,在一些情况下使条目管理极其不便(比如在混合绑定块条目与纯文本条目的数据库中筛选和排序),作为 #12345 的替代方案,在不破坏现有逻辑的情况下,我建议:

  • 更新时间字段增加选项 绑定块更新时间优先(默认)、条目更新时间优先
  • 创建时间字段增加选项 绑定块创建时间优先(默认)、条目创建时间优先

添加一个二级菜单到这个位置:

image

@88250
Copy link
Member

88250 commented Oct 27, 2024

维持现有设计不变了。如果一定需要显示条目更新时间,用模板列替代一下吧。

@88250 88250 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Oct 27, 2024

替代不了哇,只有时间字段才有这些筛选方式:

image

@88250
Copy link
Member

88250 commented Oct 27, 2024 via email

@88250
Copy link
Member

88250 commented Oct 29, 2024

补充模板变量:

.action{.entryCreated}
.action{.entryUpdated}

#12968

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