I use SortHelper which provides for sorting by any column of the table. With patient name I would like to have only one column. The combined column could be 'name' as in: select ..., lastname||', '||firstname as name from patients... order by name
This column does not appear in the table itself. It is concatenated column. Ordering by name would also provide for correct ordering. Can I fool SortHelper to use such a fake column (not in the model) to work with? -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b7d3c6442bf4e43a6a976ffbfaf7af45%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.