mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	settings_users: Do not allow sorting by email if emails are hidden.
This commit is contained in:
		@@ -13,7 +13,7 @@
 | 
			
		||||
        <table class="table table-condensed table-striped wrapped-table">
 | 
			
		||||
            <thead class="table-sticky-headers">
 | 
			
		||||
                <th class="active" data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th>
 | 
			
		||||
                <th data-sort="email">{{t "Email" }}</th>
 | 
			
		||||
                <th {{#if can_sort_by_email}}data-sort="email"{{/if}}>{{t "Email" }}</th>
 | 
			
		||||
                <th class="user_id" data-sort="id">{{t "User ID" }}</th>
 | 
			
		||||
                <th class="user_role" data-sort="role">{{t "Role" }}</th>
 | 
			
		||||
                {{#if is_admin}}
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
        <table class="table table-condensed table-striped wrapped-table">
 | 
			
		||||
            <thead class="table-sticky-headers">
 | 
			
		||||
                <th class="active" data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th>
 | 
			
		||||
                <th data-sort="email">{{t "Email" }}</th>
 | 
			
		||||
                <th {{#if can_sort_by_email}}data-sort="email"{{/if}}>{{t "Email" }}</th>
 | 
			
		||||
                <th class="user_id" data-sort="id">{{t "User ID" }}</th>
 | 
			
		||||
                <th class="user_role" data-sort="role">{{t "Role" }}</th>
 | 
			
		||||
                <th class="last_active" data-sort="last_active">{{t "Last active" }}</th>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user