TicketQuery macro didn't conform to the documented default values for `max` and `order`.
Also added documentation for `desc`, which was working but undocumented.
Closes #7399.
Authored by: cboos 2008-07-02
Parent: [r7291]
Child: [r7293]