Allow setting searchhidden during new_photo.

This commit is contained in:
voussoir 2018-09-21 21:31:57 -07:00
parent f397140e20
commit 670bc8b375

View file

@ -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,