Authored by 周少峰

价格排序

@@ -798,7 +798,7 @@ class HelperSearch @@ -798,7 +798,7 @@ class HelperSearch
798 'order' => 's_p_asc' 798 'order' => 's_p_asc'
799 ))); 799 )));
800 $active = ''; 800 $active = '';
801 - $desc = true; 801 + $desc = '';
802 } 802 }
803 else if (self::$params['order'] == 's_p_asc') { 803 else if (self::$params['order'] == 's_p_asc') {
804 $url = self::buildUrl(array_merge($params, array( 804 $url = self::buildUrl(array_merge($params, array(
@@ -812,8 +812,8 @@ class HelperSearch @@ -812,8 +812,8 @@ class HelperSearch
812 $url = self::buildUrl(array_merge($params, array( 812 $url = self::buildUrl(array_merge($params, array(
813 'order' => 's_p_asc' 813 'order' => 's_p_asc'
814 ))); 814 )));
815 - $desc = false;  
816 $active = true; 815 $active = true;
  816 + $desc = false;
817 } 817 }
818 $result = array( 818 $result = array(
819 'name' => '价格', 819 'name' => '价格',