Skip to content

Commit 4180ec9

Browse files
Merge pull request emmarichardson#8 from andrewhancox/master
Added city field to user profile sort module
2 parents 4959a0b + 176ae1f commit 4180ec9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

classes/sort_module/profile_field.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public function get_config_options(){
9797
'department' => get_string('department', 'local_autogroup'),
9898
'institution' => get_string('institution', 'local_autogroup'),
9999
'lang' => get_string('lang', 'local_autogroup'),
100+
'city' => get_string('city', 'local_autogroup'),
100101
);
101102
return $options;
102103
}

lang/en/local_autogroup.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777

7878
// Sort profile field options
7979
$string['auth'] = "Authentication Method";
80+
$string['city'] = "City";
8081
$string['department'] = "Department";
8182
$string['institution'] = "Institution";
8283
$string['lang'] = "Preferred Language";

0 commit comments

Comments
 (0)