<% var searchData = {}; data.forEach(function(search){ if(typeof searchData[search.module] == "undefined") { searchData[search.module] = []; } searchData[search.module].push(search); }); %> <%_.each(searchData.Video, function(newsItem){%> <%=newsItem.name%> <%})%>
<%if(typeof searchData.campaign != "undefined"){%> <%_.each(searchData.campaign, function(campaignItem){%>
<%})%> <%}%>
<%if(typeof searchData.news != "undefined"){%> <%_.each(searchData.news, function(newsItem){%>
<%})%> <%}%>
<%if (typeof searchData.content != "undefined"){%> <%_.each(searchData.content, function(contentItem){%>
<%})%> <%}%>
<%if(typeof searchData.Dealer != "undefined"){%> <%_.each(searchData.Dealer, function(dealerItem){%>
<%})%> <%}%>
<%if(typeof searchData.video != "undefined"){%> <%_.each(searchData.video, function(newsItem){%>
<%})%> <%}%>
<%if(typeof searchData.videocategory != "undefined"){%> <%_.each(searchData.videocategory, function(newsItem){%>
<%})%> <%}%>
<%if(typeof searchData.useful != "undefined"){%> <%_.each(searchData.useful, function(newsItem){%>
<%})%> <%}%>
<%if(typeof searchData.ProductFamily != "undefined"){%> <%_.each(searchData.ProductFamily, function(newsItem){%>
<%})%> <%}%>