mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-07 01:45:21 +00:00
Emit error on full-text searches not being supported.
This commit is contained in:
parent
f43300af8e
commit
0fe72d6133
@ -185,6 +185,8 @@ class LimaCharlieBackend(BaseBackend):
|
||||
generated = [self.generateNode(val) for val in node]
|
||||
filtered = [g for g in generated if g is not None]
|
||||
if filtered:
|
||||
if isinstance(filtered[0], str):
|
||||
raise NotImplementedError("Full-text keyboard searches not supported.")
|
||||
if 1 == len(filtered):
|
||||
return filtered[0]
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user