sort alias CSV file the same way as the table
This commit is contained in:
parent
b628bcfa86
commit
cd8ec7bf41
1 changed files with 1 additions and 1 deletions
2
ext/alias_editor/main.php
Executable file → Normal file
2
ext/alias_editor/main.php
Executable file → Normal file
|
@ -122,7 +122,7 @@ class AliasEditor extends Extension {
|
|||
|
||||
private function get_alias_csv(Database $database) {
|
||||
$csv = "";
|
||||
$aliases = $database->get_pairs("SELECT oldtag, newtag FROM aliases");
|
||||
$aliases = $database->get_pairs("SELECT oldtag, newtag FROM aliases ORDER BY newtag");
|
||||
foreach($aliases as $old => $new) {
|
||||
$csv .= "$old,$new\n";
|
||||
}
|
||||
|
|
Reference in a new issue