Search input value "lost" after clicking options

https://github.com/discourse/discourse/pull/4490

@cpradio This change appears to break user flow.

Steps to Reproduce

  1. From topic list, select search button
  2. Type foo bar into search input box
  3. Click “options” link below search input box

Expected Result

The search pattern value foo bar already entered in the input box is passed to the advanced search page that opens.

Actual Result

User input value foo bar is “lost”, search input field on advanced search page is empty.

3 Likes

This would be a nice enhancement @neil

1 Like

I personally wouldn’t consider this an enhancement - but a bug fix. This was the behavior prior to the new advanced search UI - on-page search shared the input with full page search.

1 Like

This is simple enough.

https://github.com/discourse/discourse/commit/adfd9733c6475f6e1a5da68c1c60b9a9f798c3f0

6 Likes

This topic was automatically closed after 24 hours. New replies are no longer allowed.