keyField vs valueField switched oops
	
		
			
	
		
	
	
		
			
				
	
				CI / testsuite (mysql, 8.1, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (mysql, 8.4, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (pgsql, 8.1, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (pgsql, 8.4, ) (push) Failing after 1s
				
					Details
				
			
		
			
				
	
				CI / testsuite (sqlite, 8.1, ) (push) Failing after 1s
				
					Details
				
			
		
			
				
	
				CI / testsuite (sqlite, 8.1, prefer-lowest) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (sqlite, 8.4, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / Coding Standard & Static Analysis (push) Failing after 1s
				
					Details
				
			
		
	
				
					
				
			
				
	
				CI / testsuite (mysql, 8.1, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (mysql, 8.4, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (pgsql, 8.1, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (pgsql, 8.4, ) (push) Failing after 1s
				
					Details
				
			
		
			
				
	
				CI / testsuite (sqlite, 8.1, ) (push) Failing after 1s
				
					Details
				
			
		
			
				
	
				CI / testsuite (sqlite, 8.1, prefer-lowest) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / testsuite (sqlite, 8.4, ) (push) Failing after 0s
				
					Details
				
			
		
			
				
	
				CI / Coding Standard & Static Analysis (push) Failing after 1s
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									fce8cc6b8b
								
							
						
					
					
						commit
						732819ff73
					
				| 
						 | 
					@ -164,7 +164,7 @@ class ProductCategoriesController extends AppController
 | 
				
			||||||
        $form = $this->request->getQuery('form', 'product_category');
 | 
					        $form = $this->request->getQuery('form', 'product_category');
 | 
				
			||||||
        if ($form === 'product') {
 | 
					        if ($form === 'product') {
 | 
				
			||||||
            $productCategoriesQ = $productCategoriesTable
 | 
					            $productCategoriesQ = $productCategoriesTable
 | 
				
			||||||
                ->find('treeList', keyPath: 'name', valuePath: 'internal_id');
 | 
					                ->find('treeList', keyPath: 'internal_id', valuePath: 'name');
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            $productCategoriesQ = $productCategoriesTable->find('treeList');
 | 
					            $productCategoriesQ = $productCategoriesTable->find('treeList');
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue