Răsfoiți Sursa

Added two new fields to the Mview interface: status and comments. The status field gets updated to indicate if an error occured when populating or tells the number of records in the table after populating. The comments field is used to allow the user to provide a description of the view

stephen 13 ani în urmă
părinte
comite
2877c624ea
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      base/tripal_core/mviews.php

+ 1 - 1
base/tripal_core/mviews.php

@@ -30,7 +30,7 @@
  *
  * @ingroup tripal_mviews_api
  */
-function tripal_add_mview ($name,$modulename,$mv_table,$mv_specs,$indexed,$query,$special_index,$comment){
+function tripal_add_mview ($name,$modulename,$mv_table,$mv_specs,$indexed,$query,$special_index,$comment=NULL){
 
    $record = new stdClass();
    $record->name = $name;