mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Issue #3212: Consider schema name in default objects sorting, so the tree displays the same order as we have in the database tab when sorted by "Name" column.
This commit is contained in:
@@ -4957,7 +4957,7 @@ end;
|
||||
function TDBObjectComparer.Compare(const Left, Right: TDBObject): Integer;
|
||||
begin
|
||||
// Simple sort method for a TDBObjectList
|
||||
Result := CompareAnyNode(Left.Name, Right.Name);
|
||||
Result := CompareAnyNode(Left.Schema+'.'+Left.Name, Right.Schema+'.'+Right.Name);
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user