Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AKagitin authored Apr 9, 2024
1 parent 1be15b1 commit fc328cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compose_notifications/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ def compose_users_list_from_users(conn, new_record):
user_notif_type_pref AS (
SELECT user_id, CASE WHEN 30 = ANY(agg) THEN True ELSE False END AS all_notifs
FROM user_notif_pref_prep
WHERE 30 = ANY(agg) OR :a = ANY(agg)),
WHERE (30 = ANY(agg) OR :a = ANY(agg))) and not(4/*topic_inforg_comment_new*/ = ANY(agg) and :a = 2/*topic_title_change*/),/*AK20240409:issue13*/
user_folders_prep AS (
SELECT user_id, forum_folder_num,
CASE WHEN count(forum_folder_num) OVER (PARTITION BY user_id) > 1
Expand Down

0 comments on commit fc328cb

Please sign in to comment.