fix(saved_queries): wrong enum for object_type of saved_query (#23611)

This commit is contained in:
Akshay Kumar Sharma 2023-04-11 02:07:16 +05:30 committed by GitHub
parent a41f3ebea3
commit e8f32c4bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,7 +359,7 @@ class SavedQuery(Model, AuditMixinNullable, ExtraJSONMixin, ImportExportMixin):
secondary="tagged_object",
primaryjoin="and_(SavedQuery.id == TaggedObject.object_id)",
secondaryjoin="and_(TaggedObject.tag_id == Tag.id, "
"TaggedObject.object_type == 'saved_query')",
"TaggedObject.object_type == 'query')",
)
export_parent = "database"