durong 5 years ago
parent
commit
38744ee6ba
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/Repositories/Behavior/BehaviorRepository.php

+ 3 - 0
app/Repositories/Behavior/BehaviorRepository.php

@@ -501,6 +501,9 @@ class BehaviorRepository
             if(isset($request['virus_behavior_id'])){
                 $where[] = ['virus_behavior_id', $request['virus_behavior_id']];
             }
+            if(isset($request['related_content_id'])){
+                $where[] = ['related_content_id', $request['related_content_id']];
+            }
 
             if ($type == 'registered_record') {
                 $registeredRecord = $this->registeredRecord;