Discussion:
custom report sorting issues
a158946
2011-11-01 15:15:16 UTC
Permalink
a158946 [http://community.zenoss.org/people/a158946] created the discussion

"custom report sorting issues"

To view the discussion, visit: http://community.zenoss.org/message/62345#62345

--------------------------------------------------------------
I'm running zenoss 3.1.0, and I have created a custom report, and am having trouble sorting it.  The manual doesn't give very clear usage on the sort property. 

Does anyone know if the sort column name is based off of the original column name (from "Columns"), or from the specified names (from "Column Names")?

Also, I would like to sort case-insensitive.  I have tried the following:

getId
Name
Name.toLower() - simply guessing here
getId.toLower() - simply guessing here

none of these seem to give me sorted output.

my report:
Query:
   here.getDeviceClassName().startswith('/Network')
Columns:
   getId
   getOSProductName
Column Names:
   Name
   OS
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62345#62345]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...