Skip to content

Command palette shows users from previous queries

Summary

Under the users result of the command palette, we see results being kept from previous queries. For example

Typing query Pasting query directly
image image
image image

This causes confusion and also showing more than 5 results when we expect only 5.

Steps to reproduce

Do an autocomplete query for a user. Note that the results are different when you type vs. when you paste the query directly. The count is also different.

What is the current bug behavior?

Keeping user results from previous queries.

What is the expected correct behavior?

You should only see user results for the current query

Possible fixes