Skip to content

Commit

Permalink
approve works on bulk import
Browse files Browse the repository at this point in the history
  • Loading branch information
goose-life committed Jan 10, 2024
1 parent 382b719 commit ad8f4bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions indigo/bulk_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ def create_or_update(self, row):
def provisionally_save(self, work, old_publication_date=None, new_publication_date=None, old_title=None, new_title=None):
if not self.dry_run:
if not work.pk:
work.work_in_progress = False
work.properties['created_in_bulk'] = True
work.save_with_revision(self.user)
if old_publication_date and new_publication_date:
Expand Down

0 comments on commit ad8f4bf

Please sign in to comment.