Added line breaks to join expressions.
Details
Details
Add code:
$grids = $this->Application->getUnitOption($event->Prefix, 'Grids'); $grids['ReviewsSection']['Fields']['CatalogItemName'] = array('filter_block' => 'grid_like_filter'); $this->Application->setUnitOption($event->Prefix, 'Grids', $grids);
to ReviewsEventHandler::OnAfterConfigRead, after this line:
$this->Application->setUnitOption($event->Prefix, 'CalculatedFields', $calculated_fields);
- go to Website & Content → Comments
- filter grid by just added CatalogItemName column
- confirm, that no SQL error happened
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 1103 Build 1103: arc lint + arc unit