Skip to content

Commit 95a4c25

Browse files
committed
Merge branch 'master' of github.com:DataTables/Editor-PHP
2 parents c3a76a2 + 3303b4f commit 95a4c25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Editor/Join.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,9 +537,6 @@ public function data($editor, &$data)
537537
$stmt->order($this->order());
538538
}
539539

540-
$stmt->left_join($this->_leftJoin);
541-
$this->_apply_where($stmt);
542-
543540
if (isset($this->_join['table'])) {
544541
// Working with a link table
545542
$stmt
@@ -560,6 +557,9 @@ public function data($editor, &$data)
560557
);
561558
}
562559

560+
$stmt->left_join($this->_leftJoin);
561+
$this->_apply_where($stmt);
562+
563563
// Check that the joining field is available. The joining key can
564564
// come from the Editor instance's primary key, or any other field,
565565
// including a nested value (from a left join). If the instance's

0 commit comments

Comments
 (0)