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

改进命名查询持久化 #6856

Closed
mdzz2048 opened this issue Dec 11, 2022 · 1 comment
Closed

改进命名查询持久化 #6856

mdzz2048 opened this issue Dec 11, 2022 · 1 comment
Assignees
Milestone

Comments

@mdzz2048
Copy link
Contributor

在什么情况下你需要该特性?In what scenarios do you need this feature?

之前提过搜索排除指定笔记本的需求,社区和 Issues 里也有类似的需求:全局搜索能否屏蔽某个笔记本进行搜索?#6475

目前通过2.5.3引入的 #6589 可以将指定路径保存为“命名查询”或使用 SQL 语句查询实现排除部分笔记本,但是在每次使用 Ctrl + P 搜索时,上次使用的 SQL 搜索和指定路径都会变回默认值。

以排除指定笔记本的需求考虑的话,希望能保留上次使用的命名查询。

描述可能的最优解决方案 Describe the optimal solution

提供设置默认命名查询选项

描述候选的解决方案 Describe the candidate solution

搜索界面默认使用上次的命名查询

其他信息 Other information

No response

@88250 88250 closed this as completed Dec 11, 2022
@Vanessa219 Vanessa219 self-assigned this Dec 11, 2022
Vanessa219 added a commit that referenced this issue Dec 11, 2022
@Vanessa219 Vanessa219 added this to the 2.5.4 milestone Dec 11, 2022
@Vanessa219 Vanessa219 reopened this Dec 11, 2022
@siyuan-note siyuan-note deleted a comment from 88250 Dec 11, 2022
@88250
Copy link
Member

88250 commented Dec 11, 2022

搜索条件不再进行持久化,改进为持久化命名查询。

@Vanessa219 Vanessa219 changed the title 搜索命名查询支持默认选项 搜索面板中搜索条件变更不再进行持久化 Dec 11, 2022
@88250 88250 changed the title 搜索面板中搜索条件变更不再进行持久化 改进命名查询持久化 Dec 11, 2022
Vanessa219 added a commit that referenced this issue Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants