mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 20:18:08 +00:00
Fix: Add articles order in category show page (#6662)
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<p class="text-sm text-slate-500"><%= I18n.t('public_portal.common.no_articles') %></p>
|
<p class="text-sm text-slate-500"><%= I18n.t('public_portal.common.no_articles') %></p>
|
||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% @category.articles.published.each do |article| %>
|
<% @category.articles.published.order(:position).each do |article| %>
|
||||||
<a
|
<a
|
||||||
class="text-slate-800 flex justify-between content-center mb-4 py-2"
|
class="text-slate-800 flex justify-between content-center mb-4 py-2"
|
||||||
href="/hc/<%= @portal.slug %>/<%= @category.locale %>/<%= @category.slug %>/<%= article.id %>"
|
href="/hc/<%= @portal.slug %>/<%= @category.locale %>/<%= @category.slug %>/<%= article.id %>"
|
||||||
|
|||||||
Reference in New Issue
Block a user