Skip to content

改进命名查询持久化 #6856

Closed
Closed
@mdzz2048

Description

@mdzz2048
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

Activity

self-assigned this
on Dec 11, 2022
added a commit that references this issue on Dec 11, 2022
added this to the 2.5.4 milestone on Dec 11, 2022
deleted a comment from 88250 on Dec 11, 2022
88250

88250 commented on Dec 11, 2022

@88250
Member

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

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@mdzz2048

      Issue actions

        改进命名查询持久化 · Issue #6856 · siyuan-note/siyuan