Skip to content

Commit

Permalink
minor modification to sort list by title if the seq entries are equal
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jul 7, 2009
1 parent 6ca95c0 commit 1db7601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/super/edit_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function set_related(codetype, code, selector, codedesc) {
}
else {
$res = sqlStatement("SELECT * FROM list_options WHERE " .
"list_id = '$list_id' ORDER BY seq");
"list_id = '$list_id' ORDER BY seq,title");
while ($row = sqlFetchArray($res)) {
writeOptionLine($row['option_id'], $row['title'], $row['seq'],
$row['is_default'], $row['option_value']);
Expand Down

0 comments on commit 1db7601

Please sign in to comment.