Name of the fields used to sort the results of the search and read methods.
Default value: 'id'.
_order = "name"
_order = "date_order desc"
Also, it can be ordered with multiple fields also.
_order = "name, date_order desc"
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/5/14, 2:40 AM|
|Seen: 7483 times|
|Last updated: 6/1/15, 2:11 PM|