Cleanup ItemFields (#13818)
Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run

* Cleanup ItemFields

* Update MediaBrowser.Model/Querying/ItemFields.cs
This commit is contained in:
Tim Eisele
2025-04-01 01:46:21 +02:00
committed by GitHub
parent 14b785d188
commit 086fbd49cf
4 changed files with 63 additions and 41 deletions

View File

@@ -34,7 +34,7 @@ namespace MediaBrowser.Controller.Dto
EnableUserData = true;
AddCurrentProgram = true;
Fields = allFields ? AllItemFields : Array.Empty<ItemFields>();
Fields = allFields ? AllItemFields : [];
ImageTypes = AllImageTypes;
}