mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
moved select outside the presets module
This commit is contained in:
parent
2b6673e1b4
commit
7c51217844
4 changed files with 16 additions and 7 deletions
|
|
@ -29,6 +29,10 @@ local policy_filter = _GET["policy_filter"]
|
|||
local proto_filter = _GET["l7proto"]
|
||||
local category = _GET["category"]
|
||||
|
||||
interface.select(ifname)
|
||||
|
||||
presets_utils.init()
|
||||
|
||||
-- ################################################
|
||||
-- Sorting and Pagination
|
||||
|
||||
|
|
@ -63,8 +67,6 @@ end
|
|||
|
||||
-- ################################################
|
||||
|
||||
interface.select(ifname)
|
||||
|
||||
local to_skip = (currentPage-1) * perPage
|
||||
|
||||
if sortOrder == "desc" then sOrder = rev_insensitive else sOrder = asc_insensitive end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue