mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									fd4eb40307
								
							
						
					
					
						commit
						ac5b947973
					
				| @ -33,7 +33,7 @@ module.SortActions = actions.Actions({ | |||||||
| 		// 	- sort mode name		- as set in .config['sort-mode'] key
 | 		// 	- sort mode name		- as set in .config['sort-mode'] key
 | ||||||
| 		// 								Example: 'Date'
 | 		// 								Example: 'Date'
 | ||||||
| 		// 	- explicit sort method	- as set in .config['sort-mode'] value
 | 		// 	- explicit sort method	- as set in .config['sort-mode'] value
 | ||||||
| 		// 								Example: 'metadata.createDate birthtime'
 | 		// 								Example: 'metadata.createDate ctime'
 | ||||||
| 		'default-sort': 'Date', | 		'default-sort': 'Date', | ||||||
| 
 | 
 | ||||||
| 		// Default sort order...
 | 		// Default sort order...
 | ||||||
| @ -62,11 +62,10 @@ module.SortActions = actions.Actions({ | |||||||
| 			// NOTE: for when date resolution is not good enough this 
 | 			// NOTE: for when date resolution is not good enough this 
 | ||||||
| 			// 		also takes into account file sequence number...
 | 			// 		also takes into account file sequence number...
 | ||||||
| 			// NOTE: this is descending by default...
 | 			// NOTE: this is descending by default...
 | ||||||
| 			//'Date': 'metadata.createDate birthtime name-sequence keep-position reverse',
 |  | ||||||
| 			'Date':  | 			'Date':  | ||||||
| 				'metadata.createDate birthtime keep-position reverse', | 				'metadata.createDate ctime name-sequence keep-position reverse', | ||||||
| 			'File date':  | 			'File date':  | ||||||
| 				'birthtime keep-position reverse', | 				'ctime keep-position reverse', | ||||||
| 			'File sequence number (with overflow)':  | 			'File sequence number (with overflow)':  | ||||||
| 				'name-sequence-overflow name path keep-position', | 				'name-sequence-overflow name path keep-position', | ||||||
| 			'File sequence number':  | 			'File sequence number':  | ||||||
| @ -234,9 +233,9 @@ module.SortActions = actions.Actions({ | |||||||
| 	// NOTE: reverse is calculated by oddity -- if an odd number indicated
 | 	// NOTE: reverse is calculated by oddity -- if an odd number indicated
 | ||||||
| 	// 		then the result is reversed, otherwise it is not. 
 | 	// 		then the result is reversed, otherwise it is not. 
 | ||||||
| 	// 		e.g. adding:
 | 	// 		e.g. adding:
 | ||||||
| 	// 		 	'metadata.createDate birthtime' + ' reverse' 
 | 	// 		 	'metadata.createDate ctime' + ' reverse' 
 | ||||||
| 	// 		will reverse the result's order while:
 | 	// 		will reverse the result's order while:
 | ||||||
| 	// 		 	'metadata.createDate birthtime reverse' + ' reverese' 
 | 	// 		 	'metadata.createDate ctime reverse' + ' reverese' 
 | ||||||
| 	// 		will cancel reversal.
 | 	// 		will cancel reversal.
 | ||||||
| 	// NOTE: with empty images this will not do anything.
 | 	// NOTE: with empty images this will not do anything.
 | ||||||
| 	//
 | 	//
 | ||||||
| @ -261,7 +260,7 @@ module.SortActions = actions.Actions({ | |||||||
| 
 | 
 | ||||||
| 			// defaults...
 | 			// defaults...
 | ||||||
| 			method = method  | 			method = method  | ||||||
| 				|| ((this.config['default-sort'] || 'birthtime') | 				|| ((this.config['default-sort'] || 'ctime') | ||||||
| 					+ (this.config['default-sort-order'] == 'reverse' ? ' reverse' : '')) | 					+ (this.config['default-sort-order'] == 'reverse' ? ' reverse' : '')) | ||||||
| 
 | 
 | ||||||
| 			// set sort method in data...
 | 			// set sort method in data...
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user