Page MenuHomePhabricator

"Save Query" loses ApplicationSearch state in the URI, so "Cancel" may lead to the wrong place
Open, WishlistPublic

Description

Originally, see T13367.

When you "Save Query" from an "ApplicationSearch" UI, you're taken to a separate controller in /search/. This controller can only send you back to the generic ApplicationSearch URI for the given SearchEngine, even if you came from a specialized URI.

For example, in Phortune(Some Account)OrdersView All Orders, the "Save Query" loses the /account/123/ state in the URI.

This is very low-impact and a bit tricky to resolve. Likely, the PhabricatorSearchEditController behavior needs to be merged into PhabricatorApplicationSearchController so all of the behavior can be accessed via routing from getQueryURIPattern().

Event Timeline

epriestley triaged this task as Wishlist priority.Fri, Aug 23, 2:17 PM
epriestley created this task.