mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Order the cargo items by name, if no oder_by override is specified (#4213)
This commit is contained in:
@@ -175,7 +175,7 @@ var/datum/controller/subsystem/cargo/SScargo
|
||||
CHECK_TICK
|
||||
|
||||
//Load the items
|
||||
var/DBQuery/item_query = dbcon.NewQuery("SELECT path, name, description, categories, suppliers, amount, access, container_type, groupable FROM ss13_cargo_items WHERE deleted_at is NULL ORDER BY order_by")
|
||||
var/DBQuery/item_query = dbcon.NewQuery("SELECT path, name, description, categories, suppliers, amount, access, container_type, groupable FROM ss13_cargo_items WHERE deleted_at is NULL ORDER BY order_by ASC, name ASC")
|
||||
item_query.Execute()
|
||||
while(item_query.NextRow())
|
||||
CHECK_TICK
|
||||
|
||||
Reference in New Issue
Block a user