mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix(saved_queries): wrong enum for object_type of saved_query (#23611)
This commit is contained in:
parent
a41f3ebea3
commit
e8f32c4bc4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user