<% if $TreeIsFiltered || $RequestViewState = 'listview' %> <% include SilverStripe\\CMS\\Controllers\\CMSMain_ListView %> <% else %> <%-- Lazy-loaded via ajax --%> <% end_if %>