feat: adds option to search only for untagged assets (#19730)

Co-authored-by: SkwalExe <skwal@skwal.net>
This commit is contained in:
Léopold Koprivnik 2025-07-10 16:28:20 +02:00 committed by GitHub
parent 818bdde317
commit f778adea92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 75 additions and 23 deletions

View file

@ -149,7 +149,7 @@ class StatisticsSearchDto {
String? state;
List<String> tagIds;
List<String>? tagIds;
///
/// Please note: This property should have been non-nullable! Since the specification file
@ -268,7 +268,7 @@ class StatisticsSearchDto {
(personIds.hashCode) +
(rating == null ? 0 : rating!.hashCode) +
(state == null ? 0 : state!.hashCode) +
(tagIds.hashCode) +
(tagIds == null ? 0 : tagIds!.hashCode) +
(takenAfter == null ? 0 : takenAfter!.hashCode) +
(takenBefore == null ? 0 : takenBefore!.hashCode) +
(trashedAfter == null ? 0 : trashedAfter!.hashCode) +
@ -370,7 +370,11 @@ class StatisticsSearchDto {
} else {
// json[r'state'] = null;
}
if (this.tagIds != null) {
json[r'tagIds'] = this.tagIds;
} else {
// json[r'tagIds'] = null;
}
if (this.takenAfter != null) {
json[r'takenAfter'] = this.takenAfter!.toUtc().toIso8601String();
} else {