mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	bug 12239: cloudStack 3.0 new UI - Navigating to accounts from domain will only show accounts belonging to that domain
This commit is contained in:
		
							parent
							
								
									cdbf5b0db5
								
							
						
					
					
						commit
						1641229c07
					
				@ -166,9 +166,12 @@
 | 
			
		||||
            }
 | 
			
		||||
          },
 | 
			
		||||
 | 
			
		||||
          dataProvider: function(args) {
 | 
			
		||||
          dataProvider: function(args) {            
 | 
			
		||||
            var array1 = [];              
 | 
			
		||||
            if("domains" in args.context)
 | 
			
		||||
              array1.push("&domainid=" + args.context.domains[0].id);          
 | 
			
		||||
            $.ajax({
 | 
			
		||||
              url: createURL("listAccounts&page=" + args.page + "&pagesize=" + pageSize),
 | 
			
		||||
              url: createURL("listAccounts" + array1.join("") + "&page=" + args.page + "&pagesize=" + pageSize),
 | 
			
		||||
              dataType: "json",
 | 
			
		||||
              async: true,
 | 
			
		||||
              success: function(json) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user