mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
Actually handle the change to using a Sender model
This commit is contained in:
parent
d1c811555c
commit
2e48036f92
2 changed files with 7 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue