Ignore:
Timestamp:
Nov 3, 2014 5:26:57 PM (11 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/controllers/admin_acc.php

    r382 r392  
    2222        }
    2323       
    24         public function get_admins($filters = array())
     24        public function get_admins()
    2525        {
    2626                $this->load->helper('pagging');
     
    3030                $data['perpage'] = 10;
    3131                $data['keyword'] = "";
     32                $data['sorting_order']="sorting_desc";
     33        $data['sorting_field']="created_time";
     34                if ($this->input->post('sorting_order')) {
     35                        if ($this->input->post('sorting_order') != "sorting")
     36                        {
     37                                $data['sorting_order'] = $this->input->post('sorting_order');
     38                                $data['sorting_field'] = $this->input->post('sorting_field');
     39                        }
     40                }
    3241                if ($this->input->post('items'))
    3342                {
Note: See TracChangeset for help on using the changeset viewer.