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 authored Sep 29, 2024
1 parent baa2781 commit 35bef56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,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 @@ -1436,7 +1436,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 35bef56

Please sign in to comment.