Fixed regression in the generation of 1id-abstracts.txt -- the refactored code generated entries for all groups (including research groups) which have active drafts. That would be fine if there weren't other scripts that used the output and format of 1wg-abstracts.txt that broke when RGs where included... I hope we're getting closer to upgrading Django and after that providing a JSON interface for things that are now handled by 1id-abstracts.txt (and friends), but for now we need to stick to the conventions for these files.
- Legacy-Id: 6032
This commit is contained in:
parent
9b04370eb6
commit
2b19bba4b8
|
@ -207,7 +207,7 @@ def active_drafts_index_by_group(extra_values=()):
|
|||
|
||||
active_state = State.objects.get(type="draft", slug="active")
|
||||
|
||||
groups_dict = dict((g.id, g) for g in Group.objects.all())
|
||||
groups_dict = dict((g.id, g) for g in Group.objects.filter(type__slug="wg"))
|
||||
|
||||
extracted_values = ("name", "rev", "title", "group_id") + extra_values
|
||||
|
||||
|
|
Loading…
Reference in a new issue