|
@@ -467,7 +467,7 @@ SELECT p.id,
|
|
|
lcr_note.uid as last_child_review_note_uid,
|
|
|
lcp_note.uid as last_child_plan_note_uid
|
|
|
FROM point p
|
|
|
- left join note_point np on p.id = np.point_id and p.note_id = {$_note->id}
|
|
|
+ left join note_point np on p.id = np.point_id and np.note_id = {$_note->id}
|
|
|
left join note n_added on p.added_in_note_id = n_added.id
|
|
|
left join note n_removed on p.removed_in_note_id = n_removed.id
|
|
|
left join point lcr_point on p.last_child_review_point_id = lcr_point.id
|