CLI: Fix syntax matching in the 'files tagged' version of select.
This commit is contained in:
parent
3d6d51b5ce
commit
8ea88337b0
@ -423,7 +423,7 @@ Configuration:
|
||||
return selection.collectMany { library.getWhere(modelClass,
|
||||
[(idKeyFor(selectionClass)): it.id]) }.findAll()
|
||||
|
||||
case ~/files tagged( as){0,1}((\s\w+)+)/:
|
||||
case ~/files tagged( as){0,1}((\s[^\s]+)+)/:
|
||||
selectedTags = Matcher.lastMatcher[0][2].split(/\s/)
|
||||
.collect { it?.trim() }.findAll()
|
||||
.collect { library.getTagByName(it) }.findAll()
|
||||
@ -1337,6 +1337,7 @@ Library Management:
|
||||
status.text = s }
|
||||
else status.text = "${currentSelection.size()} " +
|
||||
"${toEnglish(currentSelection[0].class)}s selected." }
|
||||
else status.text = ""
|
||||
return status.text }
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user