Designate DNS – tsigkeys, default sort key for ordering is “created_at” instead of the “ID”

Bug #1948852 reported by Arkady Shtempler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
In Progress
Undecided
Unassigned

Bug Description

According the Doc: https://docs.openstack.org/ ID is a default key:

Sorts the response by the this attribute value. Default is id. You can specify multiple pairs of sort key and sort direction query parameters. If you omit the sort direction in a pair, the API uses the natural sorting direction of the server attribute that is provided as the sort_key.

Actually the default key used in code is “created_at”
https://github.com/openstack/designate/blob/master/designate/sqlalchemy/base.py#L225

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/designate/+/841452

Changed in designate:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.