← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1311789] [NEW] Filter does not work when table name has space

 

Public bug reported:

Problem Description:

  When the DataTable name (as defined in the 'name' field of the Meta
class in tables.py) has a space, filters defined on that table using
FilterActions wont work.

Cause: 
    -table name is used as the table id in the html
    -the elements_to_search parameter for quicksearch plugin uses the following: table#<table id> tbody tr

For example: if the table name specified in the Meta class of tables.py
is 'foo bar', then the elements_to_search parameter for the quicksearch
plugin will be: table#foo bar tbody tr.

** Affects: horizon
     Importance: Undecided
     Assignee: mariam john (mariamj)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => mariam john (mariamj)

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

Title:
  Filter does not work when table name has space

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Problem Description:

    When the DataTable name (as defined in the 'name' field of the Meta
  class in tables.py) has a space, filters defined on that table using
  FilterActions wont work.

  Cause: 
      -table name is used as the table id in the html
      -the elements_to_search parameter for quicksearch plugin uses the following: table#<table id> tbody tr

  For example: if the table name specified in the Meta class of
  tables.py is 'foo bar', then the elements_to_search parameter for the
  quicksearch plugin will be: table#foo bar tbody tr.

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


Follow ups

References