mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Merge pull request #198 from mr-capy/patch-1
feat(esx_vehicleshop/server/main.lua): Arrange Vehicle order by date in boss action
This commit is contained in:
@@ -84,7 +84,7 @@ AddEventHandler('esx_vehicleshop:setVehicleOwnedPlayerId', function(playerId, ve
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_vehicleshop:getSoldVehicles', function(source, cb)
|
||||
MySQL.query('SELECT client, model, plate, soldby, date FROM vehicle_sold', function(result)
|
||||
MySQL.query('SELECT client, model, plate, soldby, date FROM vehicle_sold ORDER BY DATE DESC', function(result)
|
||||
cb(result)
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user