Sort List of Tenants in Sidebar

Bug #1234993 reported by Dan Reif
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Dan Reif

Bug Description

We have a few hundred tenants accessible by some of our customers. By default, they are sorted by primary key (UUID), which is not very handy, in the sidebar. The attached patch sorts them by name, which makes them significantly easier to find. It is a straightforward Django template modification.

Patch generated against Grizzly. My apologies ahead of time in the very likely case that I got the patch format incorrect; point me in the right direction and I'm happy to fix it.

Revision history for this message
Dan Reif (a-launchpad20130227) wrote :
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Kieran Spear (kspear) wrote :

Good idea, thanks for the patch.

We use Gerrit for code contribution. It'd be great if you could follow this process to propose your patch:

https://wiki.openstack.org/wiki/GerritWorkflow

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

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

Changed in horizon:
assignee: nobody → Dan Reif (a-launchpad20130227)
status: Confirmed → In Progress
Changed in horizon:
milestone: none → icehouse-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/50167
Committed: http://github.com/openstack/horizon/commit/03383e7ef0f0943dce7b2d3ec5cbd66cc9f13d95
Submitter: Jenkins
Branch: master

commit 03383e7ef0f0943dce7b2d3ec5cbd66cc9f13d95
Author: Dan Reif <email address hidden>
Date: Mon Oct 7 16:19:22 2013 -0400

    Sort tenants in tenant dropdown, per #1234993

    Change-Id: I6e2fd3868ac3b0b0d1704bf034e6546726fda5c3
    Closes-Bug: #1234993

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-1 → 2014.1
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.