mirror of
				https://github.com/veops/cmdb.git
				synced 2025-11-04 13:46:17 +08:00 
			
		
		
		
	@@ -242,7 +242,7 @@ class Search(object):
 | 
				
			|||||||
            _query_sql = ""
 | 
					            _query_sql = ""
 | 
				
			||||||
            if ":" in q:
 | 
					            if ":" in q:
 | 
				
			||||||
                k = q.split(":")[0].strip()
 | 
					                k = q.split(":")[0].strip()
 | 
				
			||||||
                v = ":".join(q.split(":")[1:]).strip()
 | 
					                v = "\:".join(q.split(":")[1:]).strip()
 | 
				
			||||||
                current_app.logger.debug(v)
 | 
					                current_app.logger.debug(v)
 | 
				
			||||||
                field, field_type, operator, attr = self._attr_name_proc(k)
 | 
					                field, field_type, operator, attr = self._attr_name_proc(k)
 | 
				
			||||||
                if field == "_type":
 | 
					                if field == "_type":
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user