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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.