|
@@ -198,7 +198,7 @@ class Point extends Model
|
|
|
})
|
|
|
->orWhere('last_child_review_point_scoped_note_id', $_note->id) // review added during this note
|
|
|
|
|
|
- ->where(function ($query2) use ($_note) { // added during_visit on this note
|
|
|
+ ->orWhere(function ($query2) use ($_note) { // added during_visit on this note
|
|
|
$query2->where('is_removed', false)
|
|
|
->where('addition_reason_category', 'DURING_VISIT')
|
|
|
->where('added_in_note_id', $_note->id);
|