mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	Fix sorting admin user list by last login (#22081)
Admin User Account list sort `updated_unix` is not the same as "Last Sign-In"
This commit is contained in:
		
					parent
					
						
							
								c9ef03af65
							
						
					
				
			
			
				commit
				
					
						352a50d65f
					
				
			
		
					 2 changed files with 6 additions and 2 deletions
				
			
		|  | @ -76,9 +76,9 @@ | |||
| 						<th>{{.locale.Tr "admin.users.2fa"}}</th> | ||||
| 						<th>{{.locale.Tr "admin.users.repos"}}</th> | ||||
| 						<th>{{.locale.Tr "admin.users.created"}}</th> | ||||
| 						<th data-sortt-asc="leastupdate" data-sortt-desc="recentupdate"> | ||||
| 						<th data-sortt-asc="lastlogin" data-sortt-desc="reverselastlogin"> | ||||
| 							{{.locale.Tr "admin.users.last_login"}} | ||||
| 							{{SortArrow "leastupdate" "recentupdate" $.SortType false}} | ||||
| 							{{SortArrow "lastlogin" "reverselastlogin" $.SortType false}} | ||||
| 						</th> | ||||
| 						<th>{{.locale.Tr "admin.users.edit"}}</th> | ||||
| 					</tr> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue