Hi
I have a list page for users. I am using will_paginate for
pagination. So an example is
full_name(f_name+l_name) email unit(this an integer colum is
user.buildng.unit)
Clinton Trone [email protected] 2
Evette Pace [email protected] 2
Brett B [email protected] 10
...............
My requirement is to sort by any of the headings ie
first_name, email or unit on clicking them. Also I need Alphabetical
sorting .Like there will be
All,A,B,C ...Z,Other
in the list page. Then on clicking suppose D the paginated list has
to sorted by letter 'D' like that. I have no idea how to implement this.
Please help
Thanks in advance
Tom
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.