mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-24 01:51:49 +01:00
minor fix to sorting
Former-commit-id: de65b06be56d1d6ed3d6913819227b7f49f916d5
This commit is contained in:
@@ -593,8 +593,10 @@ arising out of or in connection with the use of this tool, the analysis performe
|
|||||||
#end
|
#end
|
||||||
#if ($cpeIdConf == "")
|
#if ($cpeIdConf == "")
|
||||||
#set($cpeIdConf=$id.confidence)
|
#set($cpeIdConf=$id.confidence)
|
||||||
|
#set($cpeSort=$id.confidence.ordinal())
|
||||||
#elseif ($cpeIdConf.compareTo($id.confidence)>0)
|
#elseif ($cpeIdConf.compareTo($id.confidence)>0)
|
||||||
#set($cpeIdConf=$id.confidence)
|
#set($cpeIdConf=$id.confidence)
|
||||||
|
#set($cpeSort=$id.confidence.ordinal())
|
||||||
#end
|
#end
|
||||||
#set($cpeIdCount=$cpeIdCount+1)
|
#set($cpeIdCount=$cpeIdCount+1)
|
||||||
#end
|
#end
|
||||||
@@ -625,7 +627,7 @@ arising out of or in connection with the use of this tool, the analysis performe
|
|||||||
#end
|
#end
|
||||||
</td>
|
</td>
|
||||||
<td>$dependency.getVulnerabilities().size()</td>
|
<td>$dependency.getVulnerabilities().size()</td>
|
||||||
<td>$cpeIdConf</td>
|
<td data-sort-value="$cpeSort">$cpeIdConf</td>
|
||||||
<td>$dependency.getEvidenceForDisplay().size()</td>
|
<td>$dependency.getEvidenceForDisplay().size()</td>
|
||||||
</tr>
|
</tr>
|
||||||
#end
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user