Revision 6724
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/DBUtil.java | ||
---|---|---|
867 | 867 |
serialNumber = dbConn.getCheckOutSerialNumber(); |
868 | 868 |
|
869 | 869 |
pStmt = dbConn |
870 |
.prepareStatement("SELECT rev FROM xml_revisions WHERE docid = ?"); |
|
870 |
.prepareStatement("SELECT rev FROM xml_revisions WHERE docid = ? ORDER BY rev ASC");
|
|
871 | 871 |
pStmt.setString(1, docIdWithoutRev); |
872 | 872 |
pStmt.execute(); |
873 | 873 |
|
Also available in: Unified diff
order the revision list, ascending.