API - sort_by not working in user query

  • Used Zammad version: 2.6.0-1536729659.43784b0e.xenial
  • Used Zammad installation source: package
  • Operating system: Debian 3.16.57-2

Expected behavior:

  • When a request is sent to get a list of users using the sort_by and order_by parameters, the result should be ordered.

Actual behavior:

  • An empty Array [] is returned
  • The Response headers look normal and I even get the Content-Type : “application/json” header I expect

Steps to reproduce the behavior:

Sample request:

Method: 'GET'
URI: /api/v1/users/search?sort_by=firstname&order_by=asc&query=active:true

What I tried:

  • Different orders of the parameters
  • Different columns
  • Different queries

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.