Browse Source

Fixed a small bug

Chun-Huai Cheng 8 years ago
parent
commit
1b18061610
1 changed files with 1 additions and 1 deletions
  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;
   }
 }