[API] wrong sort dir at execution controller

Bug #1510417 reported by Nikolay Makhotkin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Syed Ahsan Shamim Zaidi

Bug Description

API sorts workflow executions by default by field 'created_at' and descending direction. The direction should be ascending, i.e. 'asc' here:

https://github.com/openstack/mistral/blob/master/mistral/api/controllers/v2/execution.py#L194-L195

Changed in mistral:
assignee: nobody → Syed Ahsan Shamim Zaidi (ahsanmohsin04)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

Fix proposed to branch: master
Review: https://review.openstack.org/239618

Changed in mistral:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/239618
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=af49be304a6698329ae27d08916f8c625c86da8c
Submitter: Jenkins
Branch: master

commit af49be304a6698329ae27d08916f8c625c86da8c
Author: syed ahsan shamim zaidi <email address hidden>
Date: Tue Oct 27 08:49:17 2015 +0000

    Change in sort direction at execution controller

    API sort workflow execution by default using 'created_at'
    and descending direction, which should be ascending.

    Change-Id: I5405b73c9ca95b16ce0aacd76ad8134a6474ce33
    Closes-Bug:#1510417

Changed in mistral:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/mistral 2.0.0.0b1

This issue was fixed in the openstack/mistral 2.0.0.0b1 development milestone.

Changed in mistral:
status: Fix Committed → Fix Released
Changed in mistral:
milestone: mitaka-1 → 2.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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