Skip to content

Commit

Permalink
Merge pull request #162 from ahelsing/tkt140-sortwl
Browse files Browse the repository at this point in the history
Issue #140: Sort whitelisted domains by domain name
  • Loading branch information
ahelsing authored Jul 18, 2016
2 parents 418d803 + 108e99d commit deaafe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# [Release 1.8](https://github.com/GENI-NSF/geni-ar/milestones/1.8)

* Sort whitelisted institutions.
([#140](https://github.com/GENI-NSF/geni-ar/issues/140))
* Check that phone numbers use only legal characters.
([#146](https://github.com/GENI-NSF/geni-ar/issues/146))
* Add link to page to manage whitelisted domains.
Expand Down
2 changes: 1 addition & 1 deletion protected/whitelist.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function delete_from_whitelist($institutions) {

function print_whitelist() {
$db_conn = db_conn();
$sql = "SELECT * from idp_whitelist";
$sql = "SELECT * from idp_whitelist ORDER BY institution";
$db_result = db_fetch_rows($sql, "read idp_whitelist");

if ($db_result[RESPONSE_ARGUMENT::CODE] == RESPONSE_ERROR::NONE) {
Expand Down

0 comments on commit deaafe4

Please sign in to comment.