searchReporter?: string
searchReportee?: string
- // video releated
+ // video related
searchVideo?: string
searchVideoChannel?: string
videoIs?: AbuseVideoIs
]
if (options.serverAccountId || options.userAccountId) {
- whereAnd.push('"abuse"."reporterAccountId" NOT IN (' + buildBlockedAccountSQL([ options.serverAccountId, options.userAccountId ]) + ')')
+ whereAnd.push(
+ '"abuse"."reporterAccountId" IS NULL OR ' +
+ '"abuse"."reporterAccountId" NOT IN (' + buildBlockedAccountSQL([ options.serverAccountId, options.userAccountId ]) + ')'
+ )
}
if (options.reporterAccountId) {