getHelperPluginManager(); $escape = $plugins->get('escapeHtml'); $translate = $plugins->get('translate'); $references = $plugins->get('references'); // The new format is used in block, but there is only one list of fields. // If total is not correct, reindex the references in main settings. $total = $references->count($fields, $query, $options)['fields']; ?>

displayListForFields($fields, $query, $options) ?>