Have Clistview Sort Attributes Remembered


I’m using a form before a CListView for a search bar and some check boxes. It all works nicely, but of course when the form is submitted the GET parameters of the request, in particular the sort attribute, are lost. Is there an elegant way to make this work? I can’t really figure one out. If I re-render everything, of course I could include it as a hidden field. But since sending the form just causes an ajax request to update the list view, there’s no way to store things in hidden fields in the form.