Change the way sort clause is added for primary key when no sort clause is requested.
authorBen Konrath <ben@bagu.org>
Tue, 20 Sep 2011 14:24:34 +0000 (16:24 +0200)
committerBen Konrath <ben@bagu.org>
Tue, 20 Sep 2011 14:24:34 +0000 (16:24 +0200)
commit9b0d0c941f58665f9b32977425281008b32dc30c
treed83e7c8618b4b0c9c6e3ea3c13c102db753a72f7
parentf2a4a04fce7ff503d29720896fc2b2b0c318185b
Change the way sort clause is added for primary key when no sort clause is requested.

The primary key is now added to the LayoutFieldVector (fieldsToGet)
before the sort clause is created. When a sort clause is not requested, the
sort clause is created by finding the primary key in the LayoutFieldVector
(fieldsToGet).

* src/main/java/org/glom/web/server/database/ListDBAccess.java:
ChangeLog
src/main/java/org/glom/web/server/database/ListDBAccess.java