- Search with no explicit sort now defaults to latest (updated_at desc) on both backend and frontend, matching the forum UX expectation. - "All discussions" link from the search box routes to /?q=...&sort=latest so the sort dropdown shows "Latest" immediately after submission. - extendDiscussionState injects sort=-lastPostedAt into API params when no sort is present, keeping direct-URL navigation (?q=anan) consistent with the backend default. - Backend guard changed from phpSortField===null to empty($sorts), which is the correct sentinel since $sorts is the authoritative ES sort list. |
||
|---|---|---|
| .. | ||
| Api | ||
| Commands | ||
| Elasticsearch | ||
| Exceptions | ||
| Jobs | ||
| Save | ||
| Searchers | ||
| Seeders | ||
| Provider.php | ||