mirror of
https://github.com/immich-app/immich.git
synced 2025-01-16 00:36:47 +01:00
fix(server): not in album filter with context search (#7275)
This commit is contained in:
parent
e33fd40b4c
commit
bb5236ae65
7 changed files with 12 additions and 3 deletions
BIN
mobile/openapi/doc/SmartSearchDto.md
generated
BIN
mobile/openapi/doc/SmartSearchDto.md
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/smart_search_dto.dart
generated
BIN
mobile/openapi/lib/model/smart_search_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/test/smart_search_dto_test.dart
generated
BIN
mobile/openapi/test/smart_search_dto_test.dart
generated
Binary file not shown.
|
@ -9435,6 +9435,9 @@
|
|||
"isMotion": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isNotInAlbum": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"isOffline": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
|
6
open-api/typescript-sdk/axios-client/api.ts
generated
6
open-api/typescript-sdk/axios-client/api.ts
generated
|
@ -3880,6 +3880,12 @@ export interface SmartSearchDto {
|
|||
* @memberof SmartSearchDto
|
||||
*/
|
||||
'isMotion'?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof SmartSearchDto
|
||||
*/
|
||||
'isNotInAlbum'?: boolean;
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
|
|
BIN
open-api/typescript-sdk/fetch-client.ts
generated
BIN
open-api/typescript-sdk/fetch-client.ts
generated
Binary file not shown.
|
@ -118,6 +118,9 @@ class BaseSearchDto {
|
|||
@Type(() => Number)
|
||||
@Optional()
|
||||
size?: number;
|
||||
|
||||
@QueryBoolean({ optional: true })
|
||||
isNotInAlbum?: boolean;
|
||||
}
|
||||
|
||||
export class MetadataSearchDto extends BaseSearchDto {
|
||||
|
@ -170,9 +173,6 @@ export class MetadataSearchDto extends BaseSearchDto {
|
|||
@ApiProperty({ enumName: 'AssetOrder', enum: AssetOrder })
|
||||
order?: AssetOrder;
|
||||
|
||||
@QueryBoolean({ optional: true })
|
||||
isNotInAlbum?: boolean;
|
||||
|
||||
@Optional()
|
||||
personIds?: string[];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue