Skip to content

Commit

Permalink
fix(tags): Fix TagContent not sorting the page list when opening a tag (
Browse files Browse the repository at this point in the history
  • Loading branch information
necauqua authored Dec 30, 2024
1 parent ef72f1b commit d88e430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quartz/components/pages/TagContent.tsx
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit d88e430

Please sign in to comment.