# Search function changes

**URL:** https://meta.discourse.org/t/search-function-changes/200741
**Category:** Support
**Tags:** search
**Created:** [August 17, 2021, 5:19pm UTC](https://meta.discourse.org/t/search-function-changes/200741 "2021-08-17T17:19:07Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Slowhand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slowhand/32/57436_2.png) [@Slowhand](https://meta.discourse.org/u/Slowhand)
#### Post date: [August 17, 2021, 5:19pm UTC](https://meta.discourse.org/t/search-function-changes/200741/1 "2021-08-17T17:19:07Z")

</div>

I’m noticing the search function is working differently lately and I don’t know if this is something that’s coming from Discourse or if it’s my browser. I use the website on a desktop computer with Chrome.

After searching for a topic/post, I get a drop-down menu with results. Used to be able to arrow down to the one I wanted, hit “Enter” and it would take me there. Now, the arrow down doesn’t work. Have to change from keyboard to mouse to click.

Second, if I am searching for something and use the “in:title” in the search, it no longer give me results, it now drops down and shows me my search and I have to click on that in order to complete my search.

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/b/ab47bfb62cb6c82db05ea1ed771f04f3046597b1.png)

If this is something that my computer is doing, please let me know. This is frustrating because of all the extra clicking I have to do since the arrow down doesn’t work any more.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [August 17, 2021, 5:39pm UTC](https://meta.discourse.org/t/search-function-changes/200741/2 "2021-08-17T17:39:40Z")

</div>

These are changes on our end, your computer is probably ok! We’re trying out some things to make search features more discoverable, for example if you type `in:`

 ![Screen Shot 2021-08-17 at 1.38.07 PM](https://global.discourse-cdn.com/meta/original/3X/e/0/e073cdd03ff405a73bc48987906e751c6b089ca0.png)

We’re also aware of the arrow key navigation issue and plan on fixing it. Tabbing through the results still works, if you’re looking for keyboard nav in the meantime.

---

<div class="post-metadata">

### Author: ![Slowhand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slowhand/32/57436_2.png) [@Slowhand](https://meta.discourse.org/u/Slowhand)
#### Post date: [August 17, 2021, 5:57pm UTC](https://meta.discourse.org/t/search-function-changes/200741/3 "2021-08-17T17:57:38Z")

</div>

Thanks for the quick response. Glad to know that arrow key thing will be back!

Another quick question about the in:title thing, I understand your example, but we don’t really use anything except the “in:title” prompt, so having that dropdown is pretty useless to us.

Our main thing is finding topics and we have several that have pretty generic small words that don’t usually show up in a search (“your search items are too small”) so having that in:title search is extremely helpful.

Examples of some of our topics

- 86
- All Out
- Do It
- Red

See my problem?

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [August 17, 2021, 7:39pm UTC](https://meta.discourse.org/t/search-function-changes/200741/4 "2021-08-17T19:39:07Z")

</div>

The arrow down/up issue should be fixed via:

[https://github.com/discourse/discourse/pull/14068](https://github.com/discourse/discourse/pull/14068)

> [@Slowhand](#):
>
> Second, if I am searching for something and use the “in:title” in the search, it no longer give me results, it now drops down and shows me my search and I have to click on that in order to complete my search.

The `in:title` search is still there. If you want to trigger it by typing the full string, you just need to add a space at the end and it will trigger a search.

There is also a quicker option. Type `86 in:`, wait briefly for the suggestions to show up, then hit arrow down (to select the first suggestion, which is `86 in:title`) and then hit Enter. It needs some muscle memory retraining, but it’s a couple of keystrokes shorter.

---

<div class="post-metadata">

### Author: ![Slowhand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slowhand/32/57436_2.png) [@Slowhand](https://meta.discourse.org/u/Slowhand)
#### Post date: [August 18, 2021, 2:36pm UTC](https://meta.discourse.org/t/search-function-changes/200741/5 "2021-08-18T14:36:42Z")

</div>

Confirming that my arrow key now works! Thank you so much!!!

---

<div class="post-metadata">

### Author: ![Slowhand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slowhand/32/57436_2.png) [@Slowhand](https://meta.discourse.org/u/Slowhand)
#### Post date: [October 19, 2021, 8:30pm UTC](https://meta.discourse.org/t/search-function-changes/200741/6 "2021-10-19T20:30:51Z")

</div>

My search function has changed again today (October 19).

Previously, including this morning, when I clicked on the search, any already entered text was highlighted, enabling me to start typing immediately in order to do the next search.

Starting in the last few hours, the text is **not** highlighted, causing me to have to delete already existing text. I’ve been typing new search info AFTER the old search info…

Can this be put back? I use the search constantly throughout the day, and this is very irritating.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [October 19, 2021, 11:12pm UTC](https://meta.discourse.org/t/search-function-changes/200741/7 "2021-10-19T23:12:45Z")

</div>

Hi, yes, we have made some more changes to search, including setting the cursor to the end of the existing search keyword instead of selecting it.

We also have added a partial fix for the issue you reported in [Revert search to old live search pattern - #10 by Slowhand](https://meta.discourse.org/t/revert-search-to-old-live-search-pattern/205845/10) (mentioning it here since that topic is now closed). On topics with more than 20 posts, the Ctrl + F shortcut will load the in-topic search UI automatically (the UI has changed a bit here, but the basic functionality was there before this last round of changes.)

---

<div class="post-metadata">

### Author: ![Slowhand](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/slowhand/32/57436_2.png) [@Slowhand](https://meta.discourse.org/u/Slowhand)
#### Post date: [October 20, 2021, 12:38am UTC](https://meta.discourse.org/t/search-function-changes/200741/8 "2021-10-20T00:38:39Z")

</div>

> [@pmusaraj](#):
>
> some more changes to search, including setting the cursor to the end of the existing search keyword instead of selecting it.

Not to be contrary here, but who wants to hypothetically keep using the same search word over and over? Of course, there are a few instances where I’d want to search for a topic and then search IN that topic, but basically 98% of my searches are all for different things. Why would I want to keep the previous search word there?

Is this something that’s going to be permanent? If so, I respectfully object.

---

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [October 20, 2021, 1:50am UTC](https://meta.discourse.org/t/search-function-changes/200741/9 "2021-10-20T01:50:05Z")

</div>

> [@Slowhand](#):
>
> who wants to hypothetically keep using the same search word over and over?

It might be possible to create a plugin that changes the behavior.

I don’t have a preference about how the Discourse search box does it, but in general it’s usually easier to hit ctrl+a than to try to edit text in an input box that auto-selects.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [October 20, 2021, 5:45pm UTC](https://meta.discourse.org/t/search-function-changes/200741/10 "2021-10-20T17:45:28Z")

</div>

@Slowhand this change has been reverted, the implementation was causing some display issues on iPads and we decided to go back to our previous workflow (selecting the input value when re-opening the search panel).
