Yii Framework Forum: Have Clistview Sort Attributes Remembered - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Have Clistview Sort Attributes Remembered Rate Topic: -----

#1 User is offline   Lupin Sansei 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 36
  • Joined: 30-December 10

Posted 30 November 2012 - 08:32 PM

Hi,

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.

Thanks!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users