mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-10 01:57:12 +00:00
Actually handle the change to using a Sender model
This commit is contained in:
1 parent
d1c811555c
commit
2e48036f92
2 files changed
+7
-3
No files matched your search
@@ -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