mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: only parse custom field queries when valid (#9384)
This commit is contained in:
		| @@ -872,7 +872,7 @@ export class FilterEditorComponent | ||||
|     let queries = this.customFieldQueriesModel.queries.map((query) => | ||||
|       query.serialize() | ||||
|     ) | ||||
|     if (queries.length > 0) { | ||||
|     if (queries.length > 0 && this.customFieldQueriesModel.isValid()) { | ||||
|       filterRules.push({ | ||||
|         rule_type: FILTER_CUSTOM_FIELDS_QUERY, | ||||
|         value: JSON.stringify(queries[0]), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon