Commit b8bc74c
committed
Update filter of StatisticsAnnouncement
Only present to the user documents without an unpublished
edition in the results page for filtering documents to
connect to a StatisticsAnnouncement. This prevents a user connecting a
draft edition which had unintended consequence of publishing the draft
when the StatisticsAnnouncement was saved.1 parent ea1ea55 commit b8bc74c
2 files changed
Lines changed: 2 additions & 1 deletion
File tree
- app/controllers/admin
- test/functional/admin
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments