element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
Apache License 2.0
1.13k stars 257 forks source link

Search failed: unable to search URL in All Rooms #906

Open 532910 opened 4 years ago

532910 commented 4 years ago

I got

Search failed
Index error: An invalid argument was passed: 'Query is invalid. FieldDoesNotExist("https")'

trying to search https://github.com in All Rooms while for This Room it works fine.

riot-electron 1.6.4 from https://packages.riot.im/debian sid

MadLittleMods commented 3 years ago

:+1: Still reproducible in Element 1.7.31.

Screen Shot 2021-06-27 at 9 27 40 PM
gwire commented 2 years ago

Having this issue in searching with v1.9.0 - The FieldDoesNotExist error is returned for any "All Rooms" query that contains a : colon, not just URLs.

Searching a single room won't throw the error, but won't show the expected result either.

kittykat commented 2 years ago

The search returns a "No results" message for me at the moment both for This Room and All Rooms.

emilylange commented 6 months ago

Related

You can work around this by wrapping your search query in quotes ". E.g. "https://github.com instead of https://github.com.