fix order queries

This commit is contained in:
Pete Matsyburka committed 2025-04-23 10:58:40 +03:00
1 parent e1cd62ff40
commit 7fee82ded2
7 files changed
+97 -68

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@
<%= @pagy.from %>-<%= local_assigns.fetch(:to, @pagy.to) %> of <%= local_assigns.fetch(:count, @pagy.count) %> <%= local_assigns[:items_name] || 'items' %>
<%= local_assigns[:left_additional_html] %>
</div>
<div class="flex items-center gap-1">
<div class="flex items-center space-x-1.5">
<%= local_assigns[:right_additional_html] %>
<div class="join">
<% if @pagy.prev %>
@@ -13,7 +13,7 @@
<% else %>
<span class="join-item btn btn-disabled !bg-base-200 min-h-full h-10">«</span>
<% end %>
<span class="join-item btn uppercase min-h-full h-10">
<span class="join-item btn font-medium uppercase min-h-full h-10">
<%= t('page_number', number: @pagy.page) %>
</span>
<% if @pagy.next %>