Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Fixes print only option not being saved when editing unrestricted
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Sommerhalder committed May 16, 2019
1 parent 1556304 commit 20b86ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog
---------

- Fixes print only option not being saved when editing unrestricted.
[msom]

1.24.0 (2019-05-15)
~~~~~~~~~~~~~~~~~~~~

Expand Down
1 change: 1 addition & 0 deletions onegov/gazette/forms/notice.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ def update_model(self, model):
model.at_cost = self.at_cost.data == 'yes'
model.billing_address = self.billing_address.data
model.note = self.note.data
model.print_only = self.print_only.data
if model.state != 'published':
model.issues = self.issues.data
if self.phone_number.data and model.user:
Expand Down

0 comments on commit 20b86ed

Please sign in to comment.