element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

Searching for "10:50" results in a "Index error: An invalid argument was passed: 'Query is invalid. SyntaxError'"

Open JMoVS opened this issue 2 years ago • 2 comments

Steps to reproduce

  1. Use the search box to search across all rooms
  2. Search for "10:50"

Outcome

What did you expect?

search results

What happened instead?

grafik

Operating system

macOS

Application version

Element: 1.11.36 Version von Olm: 3.2.14

How did you install the app?

https://element.io/get-started

Homeserver

Synapse

Will you send logs?

Yes

JMoVS avatar Jul 28 '23 13:07 JMoVS

Related https://github.com/vector-im/element-desktop/issues/913

t3chguy avatar Jul 28 '23 15:07 t3chguy

You can work around this by wrapping your search query in quotes ("). In your case: "10:30" instead of 10:30.

Related #913

Additionally:

  • https://github.com/element-hq/element-desktop/issues/1118
  • https://github.com/matrix-org/matrix-react-sdk/pull/8191

emilylange avatar Mar 01 '24 23:03 emilylange