Skip to content

Commit

Permalink
Wrong db column used for sorting by owner (changes related to powerad…
Browse files Browse the repository at this point in the history
  • Loading branch information
Edmondas Girkantas committed Mar 15, 2016
1 parent 5412692 commit 29a7e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/record.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ function get_zones($perm, $userid = 0, $letterstart = 'all', $rowstart = 0, $row
}

if ($sortby == 'owner') {
$sortby = 'zones.' . $sortby;
$sortby = 'users.username';
} elseif ($sortby != 'count_records') {
$sortby = 'domains.' . $sortby;
}
Expand Down

0 comments on commit 29a7e7c

Please sign in to comment.