You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG-WIP.md
+2
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@
84
84
- The `assets/move-asset` and `assets/move-folder` actions no longer include `success` keys in responses. ([#12159](https://github.com/craftcms/cms/pull/12159))
85
85
- The `assets/upload` controller action now includes `errors` object in failure responses. ([#12159](https://github.com/craftcms/cms/pull/12159))
86
86
- Element action triggers’ `validateSelection()` and `activate()` methods are now passed an `elementIndex` argument, with a reference to the trigger’s corresponding element index.
87
+
- Element search scores set on `craft\events\SearchEvent::$scores` by `craft\services\Search::EVENT_AFTER_SEARCH` or `EVENT_BEFORE_SCORE_RESULTS` now must be indexed by element ID and site ID (e.g. `'100-1'`).
87
88
- Added `craft\auth\methods\AuthMethodInterface`.
88
89
- Added `craft\auth\methods\BaseAuthMethod`.
89
90
- Added `craft\auth\methods\RecoveryCodes`.
@@ -475,3 +476,4 @@
475
476
- Improved the initial page load performance for element edit pages that contain Matrix fields.
476
477
- Improved the performance of autosaves for elements with newly-created Matrix entries.
477
478
- Slugs are no longer required for elements that don’t have a URI format that contains `slug`.
479
+
- Fixed a bug where multi-site element queries weren’t scoring elements on a per-site basis. ([#13801](https://github.com/craftcms/cms/discussions/13801))
thrownewInvalidValueException("Invalid element search score key: \"$key\". Search scores should be indexed by element ID and site ID (e.g. \"100-1\").");
0 commit comments