FIX[BE] : fixing deleted create at and create by on product warehouse

This commit is contained in:
aguhh18
2025-12-05 13:35:12 +07:00
parent b4ccd33ea0
commit 2bc67a8433
@@ -104,7 +104,7 @@ func (s productWarehouseService) GetAll(c *fiber.Ctx, params *validation.Query)
db = s.Repository.ApplyFlagsFilter(db, cleanFlags)
return db.Order("created_at DESC").Order("updated_at DESC")
return db.Order("product_warehouses.id DESC")
})
if err != nil {