# 弃用通知 \> 清除最近搜索

**URL:** <https://meta.discourse.org/t/deprecation-notice-recent-searches-clear/408083>\
**Category:** Bug\
**Tags:** search, deprecation, fixed\
**Created:** [2026年七月20日 19:16 UTC](https://meta.discourse.org/t/deprecation-notice-recent-searches-clear/408083 "2026-07-20T19:16:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2026年七月20日 21:43 UTC](https://meta.discourse.org/t/deprecation-notice-recent-searches-clear/408083/2 "2026-07-20T21:43:00Z")

</div>

谢谢！修复方案正在路上

> <https://github.com/discourse/discourse/pull/41848>
>
> Fixes this deprecation notice when clearing recent searches, reported here https…://meta.discourse.org/t/deprecation-notice-recent-searches-clear/408083
> 
> \> DEPRECATION NOTICE: The array.clear is a deprecated Ember native array extension. Use native array methods or a TrackedArray instead. \[deprecated since Discourse 3.6.0.beta1-dev\] \[deprecation id: discourse.native-array-extensions.clear\]

---

_[View the full topic](https://meta.discourse.org/t/deprecation-notice-recent-searches-clear/408083)._
