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