Skip to content

Commit

Permalink
Adding view=partial to join element front end select/add, fixed issue…
Browse files Browse the repository at this point in the history
… in main buildQuerySelect() where we needed 'partial' in the list of formats we add a __pk_val to the data for.
  • Loading branch information
cheesegrits committed May 31, 2016
1 parent 801a4df commit b91f333
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/com_fabrik/models/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -2689,7 +2689,7 @@ public function buildQuerySelect($mode = 'list', $query = false)
$distinct = $params->get('distinct', true) ? 'DISTINCT' : '';

// $$$rob added raw as an option to fix issue in saving calendar data
if (trim($table->db_primary_key) != '' && (in_array($this->outputFormat, array('raw', 'html', 'feed', 'pdf', 'phocapdf', 'csv', 'word', 'yql', 'oai'))))
if (trim($table->db_primary_key) != '' && (in_array($this->outputFormat, array('partial', 'raw', 'html', 'feed', 'pdf', 'phocapdf', 'csv', 'word', 'yql', 'oai'))))
{
$sFields .= ', ';
$strPKey = $pk . ' AS ' . $db->qn('__pk_val') . "\n";
Expand Down
Loading

0 comments on commit b91f333

Please sign in to comment.