Browse Source

Working on bug with organism stock browser

spficklin 12 năm trước cách đây
mục cha
commit
75cc8f3aa1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tripal_stock/tripal_stock.module

+ 1 - 1
tripal_stock/tripal_stock.module

@@ -1072,7 +1072,7 @@ function tripal_stock_preprocess_tripal_organism_stocks(&$variables) {
   
   // get the pager and reformat so it shows the right block
   $pager = theme('pager');  
-  $pager = preg_replace('/?page=/',"?block=stock-browser&page=", $pager);
+  $pager = preg_replace('/\?page\=/',"?block=stock-browser&page=", $pager);
 
   // prepare the query that will lookup node ids
   $sql = "SELECT nid FROM {chado_stock} ".