Skip to content

Commit

Permalink
[#141] Reverted output filter to name field
Browse files Browse the repository at this point in the history
  • Loading branch information
goldsky committed Jun 14, 2018
1 parent 8a152de commit 15b1c29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions core/components/gridclasskey/docs/changelog.txt 100644 → 100755
@@ -1,3 +1,8 @@
GridClassKey (dev)
=================================================
- [#141] inline editor is NOT compatible with cell's output filter


GridClassKey 1.1.0-pl (May 14, 2017)
=================================================
- [#140] added option to hide resources after failing since MODX 2.5.6
Expand Down
3 changes: 2 additions & 1 deletion core/components/gridclasskey/processors/mgr/classkey/children/getlist.class.php 100644 → 100755
Expand Up @@ -293,7 +293,8 @@ public function prepareRow(xPDOObject $object) {
$resourceArray[$field['name']] = $this->modx->runSnippet($field['name'], $scriptProperties);
}
if (!empty($field['output_filter'])) {
$resourceArray[$field['name']] = $this->_outputFilter($resourceArray[$field['name']], $field['output_filter']);
// [#141] inline editor is NOT compatible with cell's output filter
// $resourceArray[$field['name']] = $this->_outputFilter($resourceArray[$field['name']], $field['output_filter']);
if (isset($resourceArray[$field['name'] . '_output']) && !empty($resourceArray[$field['name'] . '_output'])) {
$resourceArray[$field['name'] . '_output'] = $this->_outputFilter($resourceArray[$field['name'] . '_output'], $field['output_filter']);
}
Expand Down

0 comments on commit 15b1c29

Please sign in to comment.