← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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):
  New

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.

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


Follow ups

References