Put an X between the brackets on each line to confirm you have completed them:
[X] The issue is still present in the latest version of the module.
[X] The issue has not been previously reported.
Describe the bug
Get-TdIncident has an "-OrderBy" parameter to control the sort order of returned incidents, but it is not passed to the URL and is therefore ignored.
To Reproduce
Call Get-TdIncident -ResultSize 10 -OrderBy 'creation_date+ASC' -Verbose
Note that the returned incidents are the 10 newest incidents, rather than the 10 oldest, and that the URL displayed as part of the verbose output does not include an "order_by=" URL parameter.
Expected behavior
The -OrderBy parameter should appear in the URL passed to TOPdesk.
Prerequisites
Put an X between the brackets on each line to confirm you have completed them:
Describe the bug Get-TdIncident has an "-OrderBy" parameter to control the sort order of returned incidents, but it is not passed to the URL and is therefore ignored.
To Reproduce Call Get-TdIncident -ResultSize 10 -OrderBy 'creation_date+ASC' -Verbose
Note that the returned incidents are the 10 newest incidents, rather than the 10 oldest, and that the URL displayed as part of the verbose output does not include an "order_by=" URL parameter.
Expected behavior The -OrderBy parameter should appear in the URL passed to TOPdesk.