فهرست منبع

Wizard speed optimization round 1 query fix

Vijayakrishnan 3 سال پیش
والد
کامیت
619b03715d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Http/Controllers/NoteController.php

+ 1 - 1
app/Http/Controllers/NoteController.php

@@ -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