From ad6e317b8021a653152732fe82a2b6b5ed374297 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Mon, 23 Apr 2012 10:52:54 -0300 Subject: sarg - fix Sort Fields in Reverse order check in sarg.inc --- config/sarg/sarg.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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"); -- cgit v1.2.3