Allow setting searchhidden during new_photo.
This commit is contained in:
parent
f397140e20
commit
670bc8b375
1 changed files with 2 additions and 1 deletions
|
@ -216,6 +216,7 @@ class PDBPhotoMixin:
|
||||||
commit=True,
|
commit=True,
|
||||||
do_metadata=True,
|
do_metadata=True,
|
||||||
do_thumbnail=True,
|
do_thumbnail=True,
|
||||||
|
searchhidden=False,
|
||||||
tags=None,
|
tags=None,
|
||||||
):
|
):
|
||||||
'''
|
'''
|
||||||
|
@ -248,7 +249,7 @@ class PDBPhotoMixin:
|
||||||
'created': created,
|
'created': created,
|
||||||
'tagged_at': None,
|
'tagged_at': None,
|
||||||
'author_id': author_id,
|
'author_id': author_id,
|
||||||
'searchhidden': False,
|
'searchhidden': searchhidden,
|
||||||
# These will be filled in during the metadata stage.
|
# These will be filled in during the metadata stage.
|
||||||
'bytes': None,
|
'bytes': None,
|
||||||
'width': None,
|
'width': None,
|
||||||
|
|
Loading…
Reference in a new issue