Skip to content

Commit

Permalink
Fix #18035 - getting type null exception on user feed (#18036)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonika-shah committed Sep 29, 2024
1 parent 9c74964 commit d8ba0eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ List<List<String>> listCountByEntityLink(
+ " SELECT te.type, te.taskStatus, te.id "
+ " FROM thread_entity te "
+ " WHERE MATCH(te.taskAssigneesIds) AGAINST (:userTeamJsonMysql IN BOOLEAN MODE) "
+ ") AS combined "
+ ") AS combined WHERE combined.type is not NULL "
+ "GROUP BY combined.type, combined.taskStatus;",
connectionType = MYSQL)
@ConnectionAwareSqlQuery(
Expand Down Expand Up @@ -1433,7 +1433,7 @@ List<List<String>> listCountByEntityLink(
+ " SELECT te.type, te.taskStatus, te.id "
+ " FROM thread_entity te "
+ " WHERE to_tsvector('simple', taskAssigneesIds) @@ to_tsquery('simple', :userTeamJsonPostgres) "
+ ") AS combined "
+ ") AS combined WHERE combined.type is not NULL "
+ "GROUP BY combined.type, combined.taskStatus;",
connectionType = POSTGRES)
@RegisterRowMapper(OwnerCountFieldMapper.class)
Expand Down

0 comments on commit d8ba0eb

Please sign in to comment.