Skip to content

Get-TdIncident -OrderBy parameter not used #101

@mabster

Description

@mabster

Prerequisites

Put an X between the brackets on each line to confirm you have completed them:

  • The issue is still present in the latest version of the module.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions