From d88e43010adaac5b842274ab0461a7d76c8f479d Mon Sep 17 00:00:00 2001
From: Anton Bulakh <him@necauq.ua>
Date: Mon, 30 Dec 2024 17:08:35 +0000
Subject: [PATCH] fix(tags): Fix TagContent not sorting the page list when opening a tag (#1692)
---
quartz/components/pages/TagContent.tsx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/quartz/components/pages/TagContent.tsx b/quartz/components/pages/TagContent.tsx
index c703b65..e56c6d6 100644
--- a/quartz/components/pages/TagContent.tsx
+++ b/quartz/components/pages/TagContent.tsx
@@ -93,7 +93,7 @@
</>
)}
</p>
- <PageList limit={options.numPages} {...listProps} sort={opts?.sort} />
+ <PageList limit={options.numPages} {...listProps} sort={options?.sort} />
</div>
</div>
)
@@ -114,7 +114,7 @@
<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>
--
Gitblit v1.10.0