← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259226] Re: Column sorting does not work for lazy-loaded TableTab

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
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/1259226

Title:
  Column sorting does not work for lazy-loaded TableTab

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  TableTab that has preload = False won't have any sorting function.

  An example is the Database Backups tab from the Database Instance
  Details page.

  Here is the related code:

  class BackupsTab(tabs.TableTab):
      table_classes = [tables.InstanceBackupsTable]
      name = _("Backups")
      slug = "backups_tab"
      instance = None
      template_name = "horizon/common/_detail_table.html"
      preload = True

  When I tried to change the preload to False,  the sorting works fine.

  The checkbox for Select All also doesn't show up.

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


References