If you do a CCL query in the Staff Client and then try to change the sorting of the results, you will be redirected back to the Advanced Search page because of a malformed query URL. For some reason the "q=" is getting URL escaped. This problem does not appear with non-CCL queries.
Created attachment 3534 [details] Proposed patch
Comment on attachment 3534 [details] Proposed patch wrong bug!
Created attachment 3536 [details] Signed off patch
Pushed, please test
Seems to be working now. Closing.