# Permalinks 不再提供搜索或显示所有 permalinks 的方式

**URL:** https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922
**Category:** Bug
**Tags:** permalinks
**Created:** [2025年二月12日 17:03 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922 "2025-02-12T17:03:47Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![atw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/atw/32/388961_2.png) [@atw](https://meta.discourse.org/u/atw)
#### Post date: [2025年二月12日 17:03 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/1 "2025-02-12T17:03:47Z")

</div>

我们的 Discourse 实例中有超过 100 个永久链接，在最近升级到 v3.4.0 后，`/admin/config/permalinks` 页面不再提供访问所有永久链接的途径。它只显示 100 个，没有显示更多的方法。

这在 v3.3.0 中不是问题，当时搜索可以用于整个列表。  
因此，这似乎是 3.4.0 中的一个回归。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2025年二月12日 18:05 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/2 "2025-02-12T18:05:00Z")

</div>

我认为这可能是故意的，你需要搜索你想要的东西。我一直以为是这样，但也许我错了？

另一种获取它们的方法是使用数据浏览器插件。

---

<div class="post-metadata">

### Author: ![atw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/atw/32/388961_2.png) [@atw](https://meta.discourse.org/u/atw)
#### Post date: [2025年二月12日 18:30 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/3 "2025-02-12T18:30:44Z")

</div>

是的，一直都是这样，你必须使用搜索来找到它们。问题是搜索功能不再那样做了，它只搜索最初加载到 UI 中的 100 个。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2025年二月12日 18:53 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/4 "2025-02-12T18:53:20Z")

</div>

这听起来确实像个 bug！

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2025年二月12日 19:04 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/5 "2025-02-12T19:04:22Z")

</div>

或者他们使用了与系统设置相同的搜索/列表系统，该系统也只返回了 100 个结果。所以我不认为这是一个 bug，而是设计如此。

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2025年二月13日 00:47 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/6 "2025-02-13T00:47:21Z")

</div>

这听起来确实是个疏忽，团队成员会查看一下！

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [2025年二月15日 00:11 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/9 "2025-02-15T00:11:28Z")

</div>

将在以下位置修复：

> <https://github.com/discourse/discourse/pull/31354>
>
> Permalink search regressed in https://github.com/discourse/discourse/pull/30633 …where the search implementation was changed from server side to client side. Prior to that change, we included a \`filter\` param in the request to make the server find permalinks that matched the given filter and return the results limited to 100 records. However, with that change, we stopped sending the \`filter\` param with the request, which made the server always return the same 100 records which would then be filtered on the client side. That means if a site has more than 100 records, any records that don't make it in the first 100 will never be found using search.
> 
> Meta topic: https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922?u=osama

感谢您的报告 @atw 🙏

---

<div class="post-metadata">

### Author: ![atw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/atw/32/388961_2.png) [@atw](https://meta.discourse.org/u/atw)
#### Post date: [2025年二月18日 14:13 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/10 "2025-02-18T14:13:18Z")

</div>

谢谢 @Osama 🎇

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2025年六月13日 12:19 UTC](https://meta.discourse.org/t/permalinks-no-longer-has-a-way-to-search-or-show-all-permalinks/351922/13 "2025-06-13T12:19:46Z")

</div>


