mirror of https://github.com/zlatinb/muwire
allow multiple collection views
parent
9f93b07b12
commit
4af07ece40
|
@ -170,12 +170,13 @@ class SearchTabController {
|
||||||
if (event == null || event.collections.isEmpty())
|
if (event == null || event.collections.isEmpty())
|
||||||
return
|
return
|
||||||
|
|
||||||
|
UUID uuid = UUID.randomUUID()
|
||||||
def params = [:]
|
def params = [:]
|
||||||
params['fileName'] = event.name
|
params['fileName'] = event.name
|
||||||
params['eventBus'] = mvcGroup.parentGroup.model.core.eventBus
|
params['eventBus'] = mvcGroup.parentGroup.model.core.eventBus
|
||||||
params['infoHashes'] = event.collections.collect()
|
params['infoHashes'] = event.collections.collect()
|
||||||
params['uuid'] = UUID.randomUUID()
|
params['uuid'] = uuid
|
||||||
params['host'] = event.sender
|
params['host'] = event.sender
|
||||||
mvcGroup.createMVCGroup("collection-tab", params)
|
mvcGroup.createMVCGroup("collection-tab", uuid.toString(), params)
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue