mirror of
https://github.com/wekan/wekan.git
synced 2026-01-25 18:56:10 +01:00
Global search development
* Add translation tags * Use translation tags for showing result count * Add logic for selecting cards by labels * Readd code for searching card text that was mistakenly deleted
This commit is contained in:
parent
a647768368
commit
25dc779a73
5 changed files with 77 additions and 9 deletions
|
|
@ -104,7 +104,7 @@ BlazeComponent.extendComponent({
|
|||
const reLabel = /^#(?<label>[\w:-]+)(\s+|$)/;
|
||||
const reOperator1 = /^(?<operator>\w+):(?<value>\w+)(\s+|$)/;
|
||||
const reOperator2 = /^(?<operator>\w+):(?<quote>["']*)(?<value>.*?)\k<quote>(\s+|$)/;
|
||||
const reText = /^(?<text>[^:@#\s]+)(\s+|$)/;
|
||||
const reText = /^(?<text>\S+)(\s+|$)/;
|
||||
const reQuotedText = /^(?<quote>["'])(?<text>\w+)\k<quote>(\s+|$)/;
|
||||
const operatorMap = {
|
||||
board: 'boards',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue