Change image_id to aggregate_id
Change-Id: I538da897f1dca75bd8ceb23dc74b32ba4c410691
This commit is contained in:
parent
d1a8b87dee
commit
5f01e34cab
|
@ -69,9 +69,9 @@ class UpdateMetadataAction(tables.LinkAction):
|
|||
super(UpdateMetadataAction, self).__init__(attrs, **kwargs)
|
||||
|
||||
def get_link_url(self, datum):
|
||||
image_id = self.table.get_object_id(datum)
|
||||
aggregate_id = self.table.get_object_id(datum)
|
||||
self.attrs['ng-click'] = (
|
||||
"modal.openMetadataModal('aggregate', '%s', true)" % image_id)
|
||||
"modal.openMetadataModal('aggregate', '%s', true)" % aggregate_id)
|
||||
return "javascript:void(0);"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue