Skip to content

Add culture awareness to the backoffice search APIs #19322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
May 19, 2025

Conversation

kjac
Copy link
Contributor

@kjac kjac commented May 14, 2025

Prerequisites

  • I have added steps to test this contribution in the description below

Description

This PR adds culture awareness to all backoffice search:

  • The global search
  • Collection views
  • Content pickers

nielslyngsoe and others added 16 commits May 16, 2025 12:31
* generate types

* enable selection of entity-item-ref elements

* Update input-document.element.ts

* add culture to document search args

* pass culture param to search end point

* get variant context in document picker

* add variant context

* set culture in variant context when changing app language

* set variant context when swithing variant in a workspace

* Update content-detail-workspace-base.ts

* clean up

* remove from split view manager

* Update property-dataset-base-context.ts

* change name to fallbackCulture

* simplify

* get context instead of consuming

* make all methods async

* implement for media

* Update current-user-action.extension.ts

* allow null until we reach the server

* remove log

---------

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
@kjac kjac marked this pull request as ready for review May 19, 2025 11:24
@kjac kjac enabled auto-merge (squash) May 19, 2025 11:50
@kjac kjac merged commit 57bec51 into release/16.0 May 19, 2025
22 of 23 checks passed
@kjac kjac deleted the v16/improvement/culture-in-search-endpoints branch May 19, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants