|
@@ -111,7 +111,8 @@ class info_path(Load):
|
|
|
if status:
|
|
|
self.data['search']['status'] = False
|
|
|
|
|
|
- self.list('device_info', order='inorder asc, type_id asc,udate asc,hardware_id asc')
|
|
|
+ #inorder asc, type_id asc,
|
|
|
+ self.list('device_info', order='cdate desc, udate asc,hardware_id asc')
|
|
|
if self.data['list']:
|
|
|
for key, value in enumerate(self.data['list']):
|
|
|
farm = self.service('common').one('farm', id=value['farm_id'])
|