mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-14 00:26:21 +00:00
Actually handle the change to using a Sender model
This commit is contained in:
@@ -7,7 +7,7 @@ from .models import Sender, Document
|
||||
|
||||
class DocumentAdmin(admin.ModelAdmin):
|
||||
|
||||
search_fields = ("sender", "title", "content",)
|
||||
search_fields = ("sender__name", "title", "content",)
|
||||
list_display = ("edit", "created", "sender", "title", "pdf")
|
||||
list_filter = ("created", "sender")
|
||||
save_on_top = True
|
||||
|
Reference in New Issue
Block a user