Fixed bug where media default_dict contained related and root library attributes.
This commit is contained in:
1 parent
01e64e989e
commit
afe9aed2eb
1 file changed
+2
-2
@@ -18,12 +18,12 @@ class MediaBase(Plugin):
|
|||||||
'category': {},
|
'category': {},
|
||||||
}
|
}
|
||||||
|
|
||||||
search_dict = mergeDicts(default_dict, {
|
search_dict = mergeDicts({
|
||||||
'library': {
|
'library': {
|
||||||
'related_libraries': {},
|
'related_libraries': {},
|
||||||
'root_library': {}
|
'root_library': {}
|
||||||
},
|
},
|
||||||
})
|
}, default_dict)
|
||||||
|
|
||||||
def initType(self):
|
def initType(self):
|
||||||
addEvent('media.types', self.getType)
|
addEvent('media.types', self.getType)
|
||||||
|
|||||||
Reference in new issue
Block a user