Skip to content

Commit

Permalink
Merge pull request #2407 from samvera/oers-with-many-members-throw-er…
Browse files Browse the repository at this point in the history
…ror-on-show-page

Fix member pagination on OER show pages
  • Loading branch information
bkiahstroud authored Jan 13, 2025
2 parents 78d79ae + 3245220 commit e07ca03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/hyrax/oers/_related_items.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="row">
<% if presenter.total_pages > 1 %>
<div class="row record-padding col-md-9">
<%= paginate array_of_ids, outer_window: 2, theme: 'blacklight', param_name: :page, route_set: main_app %>
<%= paginate presenter.list_of_item_ids_to_display, outer_window: 2, theme: 'blacklight', param_name: :page, route_set: main_app %>
</div><!-- /pager -->
<% end %>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="row">
<% if presenter.total_pages > 1 %>
<div class="row record-padding col-md-9">
<%= paginate array_of_ids, outer_window: 2, theme: 'blacklight', param_name: :page, route_set: main_app %>
<%= paginate presenter.list_of_item_ids_to_display, outer_window: 2, theme: 'blacklight', param_name: :page, route_set: main_app %>
</div><!-- /pager -->
<% end %>
</div>
Expand Down

0 comments on commit e07ca03

Please sign in to comment.