Little fix in selectmodelform
This commit is contained in:
parent
001ee79c2a
commit
b6a5e77bcd
1 changed files with 3 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ class SelectModelFormByOrder extends SelectForm {
|
||||||
|
|
||||||
$arr_elements=array();
|
$arr_elements=array();
|
||||||
|
|
||||||
$query=$this->model->select([$this->model->idmodel, $this->identifier_field, $this->field_parent]);
|
$query=$this->model->where($this->where)->select([$this->model->idmodel, $this->identifier_field, $this->field_parent]);
|
||||||
|
|
||||||
while($arr_field=$this->model->fetch_array($query))
|
while($arr_field=$this->model->fetch_array($query))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue