Sort by pool by default from pool details page

This commit is contained in:
Ruin0x11 2021-05-08 02:41:26 -07:00
parent 81645864ec
commit 6fd48dcb5f
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<div class='pool-delete'> <div class='pool-delete'>
<form> <form>
<p>This pool has <a href='<%- ctx.formatClientLink('posts', {query: 'pool:' + ctx.pool.id}) %>'><%- ctx.pool.postCount %> post(s)</a>.</p> <p>This pool has <a href='<%- ctx.formatClientLink('posts', {query: 'pool:' + ctx.pool.id + ' sort:pool'}) %>'><%- ctx.pool.postCount %> post(s)</a>.</p>
<ul class='input'> <ul class='input'>
<li> <li>

View file

@ -18,6 +18,6 @@
<section class='description'> <section class='description'>
<hr/> <hr/>
<%= ctx.makeMarkdown(ctx.pool.description || 'This pool has no description yet.') %> <%= ctx.makeMarkdown(ctx.pool.description || 'This pool has no description yet.') %>
<p>This pool has <a href='<%- ctx.formatClientLink('posts', {query: 'pool:' + ctx.pool.id}) %>'><%- ctx.pool.postCount %> post(s)</a>.</p> <p>This pool has <a href='<%- ctx.formatClientLink('posts', {query: 'pool:' + ctx.pool.id + ' sort:pool'}) %>'><%- ctx.pool.postCount %> post(s)</a>.</p>
</section> </section>
</div> </div>