17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2061 Views |
-
DataObject get() and get_one() has different syntax for sorting

28 May 2007 at 11:20am Last edited: 28 May 2007 11:33am
Sorry, the problem was in my code, and not in SS. So I have edited this post later (I cannot delete it).
Anyway, DataObject::get(...) has the $sort argument, but DataObject::get_one(...) has the $orderby argument. Both arguments have the same functionality, but different names, which is a little bit confusing.
-
Re: DataObject get() and get_one() has different syntax for sorting

31 May 2007 at 12:11am
Andy: This is probably a good candidate for fixing in your doc updates for the core (assuming you haven't already done it).
| 2061 Views | ||
|
Page:
1
|
Go to Top |

