Project

General

Profile

« Previous | Next » 

Revision 6724

order the revision list, ascending.

View differences:

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