Sort dir listings by item name
This commit is contained in:
		
							parent
							
								
									1f94c59261
								
							
						
					
					
						commit
						e6ba3644c4
					
				| @ -16,7 +16,7 @@ export default Controller.extend({ | |||||||
| 
 | 
 | ||||||
|   currentListing: function() { |   currentListing: function() { | ||||||
|     if (isPresent(this.get('model'))) { |     if (isPresent(this.get('model'))) { | ||||||
|       return this.get('model'); |       return this.get('model').sortBy('name'); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (!this.get('categories')) { return null; } |     if (!this.get('categories')) { return null; } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user