server/db: poor fix for tag aliases' order
It's a hack, but it seems to work okay.
This commit is contained in:
		
							parent
							
								
									48af5160df
								
							
						
					
					
						commit
						a224297c4f
					
				@ -100,6 +100,7 @@ class Tag(Base):
 | 
			
		||||
    first_name = column_property(
 | 
			
		||||
        select([TagName.name])
 | 
			
		||||
            .where(TagName.tag_id == tag_id)
 | 
			
		||||
            .order_by(TagName.tag_name_id)
 | 
			
		||||
            .limit(1)
 | 
			
		||||
            .as_scalar(),
 | 
			
		||||
        deferred=True)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user