Skip to content

Commit b03f02c

Browse files
committed
jump to child of single collapsed node in parent hierarchy bug fixed
1 parent bc4a9d1 commit b03f02c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/csgt/controller/EventHandlers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ private void minMaxButtonOnClick(NodeCell clickedCell, String threadId) {
480480
// visible and un-collapsed --> visible and collapsed
481481
// this cell only: 0 -> 2
482482
// all other cells: >2 -> ++1
483-
// all other cells: <0 -> --1
483+
// all other cells: <=0 -> --1
484484

485485
int nextCellId = ElementDAOImpl.getNextLowerSiblingOrAncestorNode(clickedElementDTO, threadId);
486486
int lastCellId = ElementDAOImpl.getLowestCellInThread(threadId);

src/main/java/com/csgt/dataaccess/DAO/ElementDAOImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ private static List<String> getParentIDs(String id, String threadId) {
490490
"WHERE CT.ID = E.ID_ENTER_CALL_TRACE AND " +
491491
"CT.THREAD_ID = " + threadId + ")" +
492492
"AND E.PARENT_ID > 1 " +
493-
"AND E.COLLAPSED <> 0 " +
493+
"AND E.COLLAPSED > 0 " +
494494
"GROUP BY E.BOUND_BOX_X_COORDINATE " +
495495
"ORDER BY ID ASC ";
496496

0 commit comments

Comments
 (0)