Skip to content

Commit

Permalink
Oprava vyhľadávania v administrácii fóra
Browse files Browse the repository at this point in the history
  • Loading branch information
mireq committed Jun 24, 2018
1 parent 9bb98b9 commit c8bbf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forum/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SectionAdmin(admin.ModelAdmin):
class TopicAdmin(AttachmentAdminMixin, admin.ModelAdmin):
list_display = ('title', 'get_authors_name', 'is_removed', 'is_resolved',)
list_filter = ('section', 'is_removed', 'is_resolved',)
search_fields = ('title', 'get_authors_name',)
search_fields = ('title', 'original_text',)
ordering = ('-id',)
raw_id_fields = ('author',)
inlines = [AttachmentInline, CommentInline]
Expand Down

0 comments on commit c8bbf64

Please sign in to comment.