mirror of
https://github.com/docusealco/docuseal
synced 2026-11-12 07:42:32 -05:00
adjust sort order
This commit is contained in:
1 parent
8fd9af3a6a
commit
d3236ae4a1
5 files changed
+32
-10
No files matched your search
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
<% templates_order_select_html = capture do %>
|
||||
<% if params[:q].blank? && @pagy.pages > 1 %>
|
||||
<%= render('shared/templates_order_select', with_recently_used: @pagy.count.present? && @pagy.count < 10_000) %>
|
||||
<%= render 'shared/templates_order_select', with_recently_used: @pagy.count.present? && @pagy.count < 10_000 && !can?(:manage, :countless), selected_order: %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<%= render 'shared/pagination', pagy: @pagy, items_name: 'templates', right_additional_html: templates_order_select_html %>
|
||||
|
||||
Reference in new issue
Block a user