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

Search failed: unable to search URL in All Rooms

Open 532910 opened this issue 4 years ago • 4 comments

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

532910 avatar Jun 13 '20 21:06 532910

:+1: Still reproducible in Element 1.7.31.

Screen Shot 2021-06-27 at 9 27 40 PM

MadLittleMods avatar Jun 28 '21 02:06 MadLittleMods

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.

gwire avatar Sep 28 '21 21:09 gwire

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

kittykat avatar Mar 31 '22 15:03 kittykat

Related

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

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

emilylange avatar Mar 01 '24 23:03 emilylange