Skip to content

Commit 3b04d54

Browse files
rammi987Lucas Bach Bisgaard
andauthored
Add flag to exclude trashed media (#19746)
Co-authored-by: Lucas Bach Bisgaard <[email protected]>
1 parent 71df46c commit 3b04d54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Umbraco.Web.UI.Client/src/packages/media/media/modals/media-picker/media-picker-modal.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ export class UmbMediaPickerModalElement extends UmbModalBaseElement<UmbMediaPick
210210
const query = this._searchQuery;
211211
const { data } = await this.#mediaSearchProvider.search({
212212
query,
213+
includeTrashed: false,
213214
searchFrom: this._searchFrom,
214215
culture: this.#contextCulture,
215216
...this.data?.search?.queryParams,

0 commit comments

Comments
 (0)