Commits

masini  committed f3b1577

Submitted by: masini
Reviewed by: masini

Corrected order of the history collection

  • Participants
  • Parent commits 90b28bf

Comments (0)

Files changed (1)

File src/java/com/opensymphony/workflow/spi/hibernate/HibernateWorkflowEntry.hbm.xml

             <one-to-many class="com.opensymphony.workflow.spi.hibernate.HibernateCurrentStep"/>
         </bag>
 
-        <bag name="historySteps" cascade="all" lazy="true" inverse="true">
+        <bag name="historySteps" order-by="FINISH_DATE asc" cascade="all" lazy="true" inverse="true">
             <key column="entry_Id"/>
             <!-- index column="stepIndex"/-->
             <one-to-many class="com.opensymphony.workflow.spi.hibernate.HibernateHistoryStep"/>