fix not selected
This commit is contained in:
parent
105ee4c917
commit
a9e2c85ed7
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ class File(models.Model):
|
||||||
self.item.groups.filter(id__in=user.groups.all()).count() > 0
|
self.item.groups.filter(id__in=user.groups.all()).count() > 0
|
||||||
if 'instances' in data and 'filename' in self.info and self.data:
|
if 'instances' in data and 'filename' in self.info and self.data:
|
||||||
data['instances'].append({
|
data['instances'].append({
|
||||||
'ignore': False,
|
'ignore': not self.selected,
|
||||||
'path': self.info['filename'],
|
'path': self.info['filename'],
|
||||||
'user': self.item.user.username if self.item and self.item.user else 'system',
|
'user': self.item.user.username if self.item and self.item.user else 'system',
|
||||||
'volume': 'Direct Upload'
|
'volume': 'Direct Upload'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue