Sort_by and Order_by not working ticket search

I am trying to search ticket with sort option


  • Used Zammad version: 3.4.x
  • Installation method (source, package, …): Install on Ubuntu via DEB
  • Operating system: Ubuntu
  • Database + version: PostgreSQL + 10.14
  • Elasticsearch version: 7.9.1

Expected & Actual behavior:

case 1: AND owner_id:17 AND group_id:(1 OR 2 OR 3 OR 5))&page=1&per_page=10&sort_by=id&order_by=desc

but I am getting an empty array

case 2: AND owner_id:17 AND group_id:(1 OR 2 OR 3 OR 5))&page=1&per_page=10&sort_by=created_at&order_by=desc

I get a result but look like it is not being sorted as expected.

it is a mistake in understanding. The sorted values are in array and I was considering in object.

1 Like

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