mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
Fix asset ordering for old-pricing orders
This commit is contained in:
@@ -296,7 +296,7 @@ public class HSQLDBAssetRepository implements AssetRepository {
|
||||
}
|
||||
|
||||
sql.append("ORDER BY price");
|
||||
if (minimumPrice == null || haveAssetId < wantAssetId)
|
||||
if (minimumPrice != null && haveAssetId < wantAssetId)
|
||||
sql.append(" DESC");
|
||||
|
||||
sql.append(", ordered");
|
||||
|
Reference in New Issue
Block a user