← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1536878] Re: Fix codes with the annotation "FIXME"

 

The project table is being re-implemented with Angular and the current
implementation will be replaced sooner or later.

** Changed in: horizon
     Assignee: ChangBo Guo(gcb) (glongwave) => (unassigned)

** Changed in: horizon
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1536878

Title:
  Fix codes with the annotation "FIXME"

Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  openstack/horizon /
  openstack_dashboard/dashboards/identity/projects/tables.py

  class TenantFilterAction(tables.FilterAction):
      def filter(self, table, tenants, filter_string):
          """Really naive case-insensitive search."""
          # FIXME(gabriel): This should be smarter. Written for demo               purposes.
          q = filter_string.lower()

          def comp(tenant):
              if q in tenant.name.lower():
                  return True
              return False

          return filter(comp, tenants)

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1536878/+subscriptions


References