# 高级搜索在添加“发帖人”用户时刷新页面

**URL:** https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605
**Category:** Bug
**Created:** [2019年五月13日 15:52 UTC](https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605 "2019-05-13T15:52:02Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2019年五月13日 15:52 UTC](https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605/1 "2019-05-13T15:52:02Z")

</div>

When attempting to add a user to the “posted by” advanced search field, the page refreshes preventing the user from being added to the search query.

1. Navigate to advanced search at `/search?expanded=true`
2. Enter a user into the posted by field.
3. Click the user from the autocomplete list.
4. Browser refresh is triggered.

[https://global.discourse-cdn.com/meta/original/3X/1/d/1d9c429b7d9ece6fef53f6975c3de6f5f5029a3e.mp4](https://global.discourse-cdn.com/meta/original/3X/1/d/1d9c429b7d9ece6fef53f6975c3de6f5f5029a3e.mp4)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2019年五月13日 15:53 UTC](https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605/2 "2019-05-13T15:53:43Z")

</div>

Might be me, I refactored user-selector this morning. Will have a look.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年五月13日 16:55 UTC](https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605/4 "2019-05-13T16:55:40Z")

</div>

I think it’s the same bug, I can’t assign anymore. The page does a full-refresh whenever I click a username in the autocomplete list.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2019年五月13日 20:23 UTC](https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605/5 "2019-05-13T20:23:10Z")

</div>

This also seems to impact the ability to send PMs. Full-refresh when selecting a user from autocomplete in the composer.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2019年五月13日 23:42 UTC](https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605/6 "2019-05-13T23:42:48Z")

</div>

Same problem trying to change the owner on a post, as soon as the user is selected from autocomplete, the page refreshes and the whole dialog is lost.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2019年五月14日 22:39 UTC](https://meta.discourse.org/t/advanced-search-refreshes-page-when-adding-posted-by-user/117605/7 "2019-05-14T22:39:12Z")

</div>

Been fixed.
