Browse Source

Merge pull request #132 from lexintegritastech/improve-main-ui

Fix linking of `document`
pull/133/head
Alexander D. Bondoc 4 years ago committed by GitHub
parent
commit
e65c339289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/components/doctrine_index_table_component/doctrine_index_table_component.html.erb

2
app/components/doctrine_index_table_component/doctrine_index_table_component.html.erb

@ -7,7 +7,7 @@
<tbody>
<% search_results.each do |search_result| %>
<tr href="<%= document_path(search_result.id, is_index_table: true, subject_ids: opts[:subject_ids]) %> " class="clickable-link">
<tr href="<%= document_path(search_result.document.id, is_index_table: true, subject_ids: opts[:subject_ids]) %> " class="clickable-link">
<td> <%= document_reference_number(search_result) %> </td>
<td> <%= document_title(search_result) %> </td>
<td> <%= date_or_year(search_result) %> </td>

Loading…
Cancel
Save