mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
fix(saved_queries): wrong enum for object_type of saved_query (#23611)
This commit is contained in:
committed by
GitHub
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"
|
||||
|
||||
Reference in New Issue
Block a user