Before the upgrade to 3.3.0.7 from 3.1.2.1, we have custom code that we used to display statistics for views and downloads based on Abstract and each genre (or file type). After porting this code to 3.3.0.7 only the Abstract views are displayed via the method getViews(), however the breakdown of the file types is not working and we are using the method getViewsByGenre(). Is there a new method that can enable me get the same behaviour we used to have? Below is the code snippet.
<ul style="list-style: none; padding: 0; margin: 0;">
<li style="padding: 5px 0;">{translate key="article.abstract"} <span class="task_count" style="display: inline-block;width: 20px;height: 20px;margin-left: 0.5em;border-radius: 50%;background: #ddd;line-height: 20px; text-align: center; font-size: 12px; float: right;">{$article->getViews()}</span></li>
{if is_a($article, 'PublishedArticle')}{assign var=galleys value=$article->getGalleys()}{/if}
{if $galleys}
{foreach from=$galleys item=galley name=galleyList}
{assign var=fil value=$galley->getFile()}
<li style="padding: 5px 0;">{$galley->getGalleyLabel()} <span class="task_count" style="display: inline-block;width: 20px;height: 20px;margin-left: 0.5em;border-radius: 50%;background: #ddd;line-height: 20px; text-align: center; font-size: 12px; float: right;">{$fil->getViewsByGenre()}<span></li>
{/foreach}
{/if}
</ul>