mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Code cleanup: removed code used very seldom such as host aggregations/contacts. This should reduce memory usage and make ntopng faster
Little progresses towards MySQL support
This commit is contained in:
parent
c85468df55
commit
6aa141caa9
59 changed files with 253 additions and 4282 deletions
|
|
@ -33,8 +33,7 @@ if ((sortColumn == nil) or (sortColumn == "column_")) then
|
|||
sortColumn = getDefaultTableSort(group_col)
|
||||
--if(sortColumn == "column_") then sortColumn = "column_name" end
|
||||
else
|
||||
if ((aggregated == nil) and (sortColumn ~= "column_")
|
||||
and (sortColumn ~= "")) then
|
||||
if ((sortColumn ~= "column_") and (sortColumn ~= "")) then
|
||||
tablePreferences("sort_"..group_col,sortColumn)
|
||||
end
|
||||
end
|
||||
|
|
@ -42,8 +41,7 @@ end
|
|||
if(sortOrder == nil) then
|
||||
sortOrder = getDefaultTableSortOrder(group_col)
|
||||
else
|
||||
if ((aggregated == nil) and (sortColumn ~= "column_")
|
||||
and (sortColumn ~= "")) then
|
||||
if ((sortColumn ~= "column_") and (sortColumn ~= "")) then
|
||||
tablePreferences("sort_order_"..group_col,sortOrder)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue