Skip to content

Commit

Permalink
🚑 add order in bill segments inline
Browse files Browse the repository at this point in the history
  • Loading branch information
erivanio committed Feb 20, 2018
1 parent 626d779 commit 8751c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wikilegis/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class BillSegmentInline(admin.TabularInline):
exclude = [
'author', 'additive_amendments_count', 'modifier_amendments_count',
'supress_amendments_count', 'amendments_count', 'upvote_count',
'downvote_count', 'comments_count', 'participation_count', 'order']
fields = ['id', 'parent', 'segment_type', 'number', 'content']
'downvote_count', 'comments_count', 'participation_count']
fields = ['id', 'order', 'parent', 'segment_type', 'number', 'content']
per_page = 20
readonly_fields = ('id',)
raw_id_fields = ("parent",)
Expand Down

0 comments on commit 8751c4c

Please sign in to comment.