소스 검색

Fixed a small bug

Chun-Huai Cheng 9 년 전
부모
커밋
1b18061610
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tripal/tripal_views_query.inc

+ 1 - 1
tripal/tripal_views_query.inc

@@ -75,7 +75,7 @@ class tripal_views_query extends views_plugin_query {
       }
     }
 
-    $view->total_rows = count($rows);
+    $view->total_rows = count($view->result);
     $view->pager['current_page'] = 0;
   }
 }