aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-04-23 10:52:54 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-04-23 10:52:54 -0300
commitad6e317b8021a653152732fe82a2b6b5ed374297 (patch)
tree6591c5c3f1e330dde1d7b6af26dbaddfce5d7afb /config
parentc98933a262ba2ab0f496fd7e62986ebf9a5e84e6 (diff)
downloadpfsense-packages-ad6e317b8021a653152732fe82a2b6b5ed374297.tar.gz
pfsense-packages-ad6e317b8021a653152732fe82a2b6b5ed374297.tar.bz2
pfsense-packages-ad6e317b8021a653152732fe82a2b6b5ed374297.zip
sarg - fix Sort Fields in Reverse order check in sarg.inc
Diffstat (limited to 'config')
-rw-r--r--config/sarg/sarg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index f2999ceb..d589fa40 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -179,7 +179,7 @@ function sync_package_sarg() {
$anonymous_output_files=(preg_match('/anonymous_output_files/',$sarg['report_options'])?"yes":"no");
$resolve_ip=(preg_match('/resolve_ip/',$sarg['report_options'])?"yes":"no");
$user_ip=(preg_match('/user_ip/',$sarg['report_options'])?"yes":"no");
- $sort_order=(preg_match('/user_ip/',$sarg['report_options'])?"REVERSE":"NORMAL");
+ $sort_order=(preg_match('/user_sort_field_order/',$sarg['report_options'])?"REVERSE":"NORMAL");
$remove_temp_files=(preg_match('/remove_temp_files/',$sarg['report_options'])?"yes":"no");
$main_index=(preg_match('/main_index/',$sarg['report_options'])?"yes":"no");
$index_tree=(preg_match('/index_tree/',$sarg['report_options'])?"file":"date");