mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 18:33:46 +08:00
docker-compose is ok
This commit is contained in:
@@ -95,7 +95,7 @@ class Search(object):
|
||||
for _v in new_v:
|
||||
ci_type = CITypeCache.get(_v)
|
||||
|
||||
if len(new_v) == 1 and not self.sort and ci_type.default_order_attr:
|
||||
if len(new_v) == 1 and not self.sort and ci_type and ci_type.default_order_attr:
|
||||
self.sort = ci_type.default_order_attr
|
||||
|
||||
if ci_type is not None:
|
||||
|
Reference in New Issue
Block a user