show tag count, rather than calculated count
This commit is contained in:
		
							parent
							
								
									58f2ba539a
								
							
						
					
					
						commit
						ce76dfbb2b
					
				@ -206,7 +206,7 @@ class TagList implements Extension {
 | 
				
			|||||||
		global $config;
 | 
							global $config;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$query = "
 | 
							$query = "
 | 
				
			||||||
			SELECT COUNT(it3.image_id) as calc_count, t3.tag AS tag
 | 
								SELECT t3.tag AS tag, t3.count AS calc_count
 | 
				
			||||||
			FROM
 | 
								FROM
 | 
				
			||||||
				image_tags AS it1,
 | 
									image_tags AS it1,
 | 
				
			||||||
				image_tags AS it2,
 | 
									image_tags AS it2,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user