]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
cinder list fails with 'name' sort key
authorKuo-tung Kao <jelly.k@inwinstack.com>
Mon, 6 Jul 2015 06:40:07 +0000 (14:40 +0800)
committerKuo-tung Kao <jelly.k@inwinstack.com>
Mon, 13 Jul 2015 07:56:20 +0000 (15:56 +0800)
commit3b77f765c065c5f29aef5af2febe086691affebc
tree4a5570c2c8d8845d69945913dafa3342538f86f4
parent2cd5904eb809c117e849d4e5c1794ac8079ee14c
cinder list fails with 'name' sort key

Change sort key from `name` to `display_name` if the key, `name` exists.

Change-Id: I9e285c7de2e860b251f881ab82d8d2d93e1191d2
Closes-Bug: #1404020
cinder/api/v2/volumes.py
cinder/tests/unit/api/v2/test_volumes.py