Skip to content

Commit

Permalink
board: Fix sort by updated bug when comment is updated
Browse files Browse the repository at this point in the history
See: Yona Github issue #323
  • Loading branch information
doortts committed Feb 9, 2018
1 parent 944dae1 commit b8d2a75
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/controllers/BoardApp.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/**
* Yona, Project Hosting SW
*
* Copyright 2016 the original author or authors.
*/
* Yona, 21st Century Project Hosting SW
* <p>
* Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp.
* https://yona.io
**/
package controllers;

import actions.NullProjectCheckAction;
Expand Down Expand Up @@ -436,6 +437,7 @@ private static Runnable getContainerUpdater(final Posting posting, final Posting
return new Runnable() {
@Override
public void run() {
posting.updatedDate = JodaDateUtil.now();
comment.posting = posting;
}
};
Expand Down

0 comments on commit b8d2a75

Please sign in to comment.