Skip to content

Allow sort_by and order_by for tickets, users and organisations search REST API #2073

@martini

Description

@martini

Infos:

  • Used Zammad version: 2.5
  • Installation method (source, package, ..): any
  • Operating system: any
  • Database + version: any
  • Elasticsearch version: any
  • Browser + version: any

Expected behavior:

  • Allow sort_by and order_by for tickets, users and organisations search API

Actual behavior:

  • Currently sort_by is fixed to updated_at

Note: Also documentation need to be updated. https://docs.zammad.org/en/latest/api-ticket.html https://docs.zammad.org/en/latest/api-user.html and https://docs.zammad.org/en/latest/api-organization.html - 2018-07-18: documentation is update.

Attention: If you want to sort/order results you need to reindex elasticsearch by using zammad run rake searchindex:rebuild because new index information about sort/order is needed.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions