PD FORM ORDER2
This commit is contained in:
parent
486ca44455
commit
04f7aeaeda
@ -739,6 +739,7 @@ class PD_Model extends SPARQ_Model {
|
||||
$this->db->FROM(TEMPLATEFORMS.' as TEMPLATEFORMS');
|
||||
$this->db->JOIN(PDFORMS.' as PDFORMS','TEMPLATEFORMS.form_id = PDFORMS.pd_form_id');
|
||||
$this->db->WHERE('TEMPLATEFORMS.fk_template_id',$template_id);
|
||||
$this->db->ORDER_BY('TEMPLATEFORMS.pd_form_order');
|
||||
$template_forms = $this->db->GET()->result_array();
|
||||
foreach($template_forms as $template_key => $value)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user