mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	notes and tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									76cbfd80a2
								
							
						
					
					
						commit
						d5f6faf60e
					
				| @ -77,6 +77,7 @@ module.SortActions = actions.Actions({ | |||||||
| 			// 			checking for upper case:
 | 			// 			checking for upper case:
 | ||||||
| 			// 				var st = s.trim()
 | 			// 				var st = s.trim()
 | ||||||
| 			// 				st[0].toUpperCase() == st[0]
 | 			// 				st[0].toUpperCase() == st[0]
 | ||||||
|  | 			// XXX keep-position should be on by default... (???)
 | ||||||
| 			'Date':  | 			'Date':  | ||||||
| 				'image-date name-sequence keep-position reverse', | 				'image-date name-sequence keep-position reverse', | ||||||
| 			'File date':  | 			'File date':  | ||||||
| @ -118,14 +119,18 @@ module.SortActions = actions.Actions({ | |||||||
| 	__sort_methods__: { | 	__sort_methods__: { | ||||||
| 		// aliases...
 | 		// aliases...
 | ||||||
| 		'image-date': | 		'image-date': | ||||||
| 			//'image-create-date image-modify-date',
 |  | ||||||
| 			'image-create-date', | 			'image-create-date', | ||||||
|  | 
 | ||||||
| 		'image-create-date': | 		'image-create-date': | ||||||
| 			'metadata.createDate birthtime ctime name-sequence keep-position', | 			'metadata.createDate birthtime ctime name-sequence keep-position', | ||||||
| 		// XXX 
 | 		// XXX 
 | ||||||
| 		//'image-modify-date':
 | 		//'image-modify-date':
 | ||||||
| 		//	'metadata.createDate birthtime ctime name-sequence keep-position',
 | 		//	'metadata.createDate birthtime ctime name-sequence keep-position',
 | ||||||
| 		 | 		 | ||||||
|  | 		'file-create-date': | ||||||
|  | 				'birthtime ctime keep-position', | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 		// XXX make sequence sort methods compatible with repeating numbers,
 | 		// XXX make sequence sort methods compatible with repeating numbers,
 | ||||||
| 		// 		i.e. for file names like DSC_1234 sorting more than 10K files
 | 		// 		i.e. for file names like DSC_1234 sorting more than 10K files
 | ||||||
| 		// 		should split the repeating numbers by some other means, like
 | 		// 		should split the repeating numbers by some other means, like
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user