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,
|
||||
do_metadata=True,
|
||||
do_thumbnail=True,
|
||||
searchhidden=False,
|
||||
tags=None,
|
||||
):
|
||||
'''
|
||||
|
@ -248,7 +249,7 @@ class PDBPhotoMixin:
|
|||
'created': created,
|
||||
'tagged_at': None,
|
||||
'author_id': author_id,
|
||||
'searchhidden': False,
|
||||
'searchhidden': searchhidden,
|
||||
# These will be filled in during the metadata stage.
|
||||
'bytes': None,
|
||||
'width': None,
|
||||
|
|
Loading…
Reference in a new issue