Authored by 周少峰

students price

@@ -245,6 +245,7 @@ class SearchModel @@ -245,6 +245,7 @@ class SearchModel
245 'filter_poolId' => FILTER_DEFAULT, 245 'filter_poolId' => FILTER_DEFAULT,
246 'showTag' => FILTER_DEFAULT, 246 'showTag' => FILTER_DEFAULT,
247 'tagNew' => FILTER_DEFAULT, 247 'tagNew' => FILTER_DEFAULT,
  248 + 'students' => FILTER_DEFAULT,
248 'tagSale' => FILTER_DEFAULT), false); 249 'tagSale' => FILTER_DEFAULT), false);
249 250
250 251
@@ -312,11 +313,6 @@ class SearchModel @@ -312,11 +313,6 @@ class SearchModel
312 $condition['filter_poolId'] = rawurldecode($condition['filter_poolId']); 313 $condition['filter_poolId'] = rawurldecode($condition['filter_poolId']);
313 } 314 }
314 315
315 - // 是否显示学生价  
316 - if (isset($condition['students'])) {  
317 - $data['students'] = true;  
318 - }  
319 -  
320 // 转换排序方式 316 // 转换排序方式
321 // $type = $this->get('type', ''); 317 // $type = $this->get('type', '');
322 // $order = $this->get('order', 0); 318 // $order = $this->get('order', 0);
@@ -383,6 +379,11 @@ class SearchModel @@ -383,6 +379,11 @@ class SearchModel
383 } 379 }
384 } 380 }
385 381
  382 + // 是否显示学生价
  383 + if (isset($condition['students'])) {
  384 + $data['students'] = true;
  385 + }
  386 +
386 return $data; 387 return $data;
387 } 388 }
388 389