<% provide(:title, @project.path_name) %>
<% provide(:breadcrumb_1, link_to("Projects", projects_path)) %>
<div class="row">
  <aside class="col-md-4">
    <%= render partial: "shared/menu_datasets",
      locals: { project: @project,
      ds_counts: @project.dataset_counts(current_user),
      ref_datasets: false, qry_datasets: false } %>
  </aside>
  <div class="col-md-8">
    <br/>
    <%= render partial: 'projects/search_bar' %>
    <p class=text-right>
      <%= pluralize(@results.size, 'result') %>
    </p>
    <% if @results.any? %>
      <%= will_paginate @datasets, class: "center-block center" %>
      <div class='dataset-list'>
        <% @datasets.each do |dataset| %>
          <%= render partial: 'dataset',
            object: @project.miga.dataset(dataset),
            locals: { project: @project } %>
        <% end %>
      </div>
      <%= will_paginate @datasets, class: "center-block center" %>
    <% end %>
  </div>
</div>

<% provide(:title, @project.path_name) %>
<% provide(:breadcrumb_1, link_to("Projects", projects_path)) %>
<div class="row">
  <aside class="col-md-4">
    <%= render partial: "shared/menu_datasets",
      locals: { project: @project,
      ds_counts: @project.dataset_counts(current_user),
      ref_datasets: false, qry_datasets: false } %>
  </aside>
  <div class="col-md-8">
    <br/>
    <%= render partial: 'projects/search_bar' %>
    <p class=text-right>
      <%= pluralize(@results.size, 'result') %>
    </p>
    <% if @results.any? %>
      <%= will_paginate @datasets, class: "center-block center" %>
      <div class='dataset-list'>
        <% @datasets.each do |dataset| %>
          <%= render partial: 'datasets/dataset',
            object: @project.miga.dataset(dataset),
            locals: { project: @project } %>
        <% end %>
      </div>
      <%= will_paginate @datasets, class: "center-block center" %>
    <% end %>
  </div>
</div>

Update search to load centralized dataset partial
Update search to load centralized dataset partial
