Skip to content

Commit

Permalink
Fix for survey view, framework version update
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgs committed May 12, 2023
1 parent f823496 commit cf58704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions InstanceTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,6 @@ public function getInstanceData($record, $event, $form, $fields, $filter, $inclu
$instanceData = array();
$filter = str_replace(self::REPLQUOTE_SINGLE,"'",str_replace(self::REPLQUOTE_DOUBLE,'"',$filter));

## Check user permissions for access to form with instance table or form with data
if ($this->isSurvey) return array(); // ajax calls from surveys not allowed

// find any descriptive text fields tagged with @FORMINSTANCETABLE=form_name
$this->setTaggedFields();
$this->checkUserPermissions();
Expand Down
11 changes: 2 additions & 9 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,10 @@
}
],
"description": "Use the action tag @INSTANCETABLE=form_name in a descriptive text field to include a table showing data from repeat instances of that form.<br>If project is longitudinal, use @INSTANCETABLE=event_name:form_name to specify the event and form (can be a repeating form or a form in a repeating event).",
"framework-version": 8,
"framework-version": 12,
"compatibility": {
"redcap-version-min": "11.1.1"
"redcap-version-min": "13.4.12"
},
"permissions": [
"redcap_every_page_before_render",
"redcap_every_page_top",
"redcap_data_entry_form_top",
"redcap_survey_page_top",
"redcap_save_record"
],
"enable-every-page-hooks-on-system-pages": false,
"system-settings": [ ],
"project-settings": [ ]
Expand Down

0 comments on commit cf58704

Please sign in to comment.