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.
Infos:
Expected behavior:
Actual behavior:
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:rebuildbecause new index information about sort/order is needed.