瀏覽代碼

Specify the filter first for unified search

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tags/v25.0.0beta1
Daniel Kesselberg 2 年之前
父節點
當前提交
78786a2887
No account linked to committer's email address
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 2
    2
      core/src/services/UnifiedSearchService.js
  2. 2
    2
      dist/core-unified-search.js
  3. 1
    1
      dist/core-unified-search.js.map

+ 2
- 2
core/src/services/UnifiedSearchService.js 查看文件

@@ -31,8 +31,8 @@ export const defaultLimit = loadState('unified-search', 'limit-default')
export const minSearchLength = loadState('unified-search', 'min-search-length', 2)
export const enableLiveSearch = loadState('unified-search', 'live-search', true)

export const regexFilterIn = /[^-]in:([a-z_-]+)/ig
export const regexFilterNot = /-in:([a-z_-]+)/ig
export const regexFilterIn = /(^|\s)in:([a-z_-]+)/ig
export const regexFilterNot = /(^|\s)-in:([a-z_-]+)/ig

/**
* Create a cancel token

+ 2
- 2
dist/core-unified-search.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
dist/core-unified-search.js.map
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存