Web interface "Last 10 actions taken"
|
Logged in as: Guest
|
|
Users viewing this topic:
none
|
|
Login | |
|
Web interface "Last 10 actions taken" - 17.Jun.2005 2:44:00 AM
|
|
|
wstahn
Posts: 115
Joined: 26.Dec.2004
From: Hamburg/Germany
Status: offline
|
These entries are only sorted by time, but have to be sorted by date and time!
Wolfgang
|
|
|
|
RE: Web interface "Last 10 actions taken" - 17.Jun.2005 11:02:00 AM
|
|
|
blaster88
Posts: 16
Joined: 12.Jun.2005
From: McLean, VA
Status: offline
|
In the web folder under the program installation folder, there is a file called default.xsl. Near the top are some entries that read like this:
code:
<xsl:param name="SortField">time</xsl:param> <!--Possible values: 'name','date','time' --> <xsl:param name="SortOrder">ascending</xsl:param> <!--Possible values: 'ascending','descending' -->
Change the sort field value to "date" [ June 17, 2005, 05:02 PM: Message edited by: AvAdmin ]
|
|
|
|
RE: Web interface "Last 10 actions taken" - 20.Jun.2005 1:06:00 PM
|
|
|
wstahn
Posts: 115
Joined: 26.Dec.2004
From: Hamburg/Germany
Status: offline
|
Thanks... but the table has to be sorted first by date, and second by time (for equal date fields)... Sorting by date OR time is almost useless... How should I define multiple sort fields here? [ June 20, 2005, 07:08 PM: Message edited by: wstahn ]
|
|
|
|
RE: Web interface "Last 10 actions taken" - 20.Jun.2005 3:36:00 PM
|
|
|
blaster88
Posts: 16
Joined: 12.Jun.2005
From: McLean, VA
Status: offline
|
You can do multiple sort fields. So in the Presently Failed Monitoring Checks table of default.xsl, there is a section:
code:
<xsl:when test="$SortField = 'date'"> <xsl:apply-templates select="nsm_statqryres/configuration/laststatus/folder/check[statusid = 3]"> <xsl:sort select="date" order="descending"/> </xsl:apply-templates>
Change it to: code:
<xsl:when test="$SortField = 'date'"> <xsl:apply-templates select="nsm_statqryres/configuration/laststatus/folder/check[statusid = 3]"> <xsl:sort select="date" order="descending"/> <xsl:sort select="time" order="descending"/> </xsl:apply-templates>
|
|
|
|
RE: Web interface "Last 10 actions taken" - 22.Jun.2005 4:26:00 AM
|
|
|
wstahn
Posts: 115
Joined: 26.Dec.2004
From: Hamburg/Germany
Status: offline
|
Thanks, that works! I think this should be the default... Wolfgang
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|