Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #3888 (closed)

Opened 13 years ago

Closed 13 years ago

Remove 'order by id' from queries

Reported by: wmoore Owned by: wmoore
Priority: minor Milestone: OMERO-Beta4.3
Component: OmeroPy Version: n.a.
Keywords: n.a. Cc: cneves, atarkowska
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2011-01-27 (4)

Description

Either replace with 'order by name' if this is very often going to be needed: E.g. gateway.listProjects() already has this, or simply return unordered objects and allow client to handle ordering.

Change History (3)

comment:1 Changed 13 years ago by wmoore

  • Status changed from new to accepted

comment:2 Changed 13 years ago by wmoore

In r8922, all 'order by id' clauses removed to return unordered results except for listProjects() which is ordered by name (same as for the Blitz gateway method it overrides).

comment:3 Changed 13 years ago by wmoore

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.69447 sec.)

We're Hiring!