Re: fetchOverview and sort ordering
Adam Tauno Williams <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Organization | Morrison Industries |
| Message-ID | <[email protected]> |
> On Fri, May 20, 2005 at 11:34:27AM -0400, Adam Tauno Williams wrote: > > > is it possible to have fetchOverview sort its result set? > > > I would like to have it sorted by startTime. > > I'd assume so. There is an ordering key in the fetch specification. > AfaIk fetchOverview does not take a fetch specification, it only takes > three arguments: startDate, endDate and a companyId. > Whereas endDate and companyId don't need to be given and default to > startDate + 1 day and the calling user. > Do you have an example, how to call it with a fetch specification? No, you are correct, I was confusing fetch and fetchOverview. You probably have to sort the collection on the client side.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCjjU5LRePpNle04MRAg+KAJ48YU1oLQA/vcQ+lrCxqruoMAwmSACfQvUI 5hsWSwfl3KMzI7p6AiSrii8= =VQJ0 -----END PGP SIGNATURE-----