Open davide-alghi opened 19 hours ago
TextParser relatedRecordsList() syntax is
relatedRecordsList()
RelatedModuleNameOrRelationId|Columns|Conditions|CustomViewIdOrName|Limit
if CustomViewIdOrName is the custom view's name (not the id), variable $cvId is not set, so the block
CustomViewIdOrName
$cvId
if ($cvId && ($customViewModel = \CustomView_Record_Model::getInstanceById($cvId)) && ($orderBy = $customViewModel->getSortOrderBy())) { $relationListView->set('orderby', $orderBy); }
is skipped
TextParser
relatedRecordsList()
syntax isRelatedModuleNameOrRelationId|Columns|Conditions|CustomViewIdOrName|Limit
if
CustomViewIdOrName
is the custom view's name (not the id), variable$cvId
is not set, so the blockis skipped