fix(tags): Fix TagContent not sorting the page list when opening a tag (#1692)
This commit is contained in:
parent
ef72f1bf70
commit
d88e43010a
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ export default ((opts?: Partial<TagContentOptions>) => {
|
|||
</>
|
||||
)}
|
||||
</p>
|
||||
<PageList limit={options.numPages} {...listProps} sort={opts?.sort} />
|
||||
<PageList limit={options.numPages} {...listProps} sort={options?.sort} />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
@ -114,7 +114,7 @@ export default ((opts?: Partial<TagContentOptions>) => {
|
|||
<div class="page-listing">
|
||||
<p>{i18n(cfg.locale).pages.tagContent.itemsUnderTag({ count: pages.length })}</p>
|
||||
<div>
|
||||
<PageList {...listProps} />
|
||||
<PageList {...listProps} sort={options?.sort} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue