mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 23:05:42 +01:00
Enhancement: Add {original_filename}, {added_time} to title placeholders (#4972)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
7289c4ea56
commit
1197a048bc
2 changed files with 4 additions and 0 deletions
|
|
@ -691,6 +691,8 @@ class Consumer(LoggingMixin):
|
|||
added_month_name_short=local_added.strftime("%b"),
|
||||
added_day=local_added.strftime("%d"),
|
||||
owner_username=owner_username,
|
||||
original_filename=Path(self.filename).stem,
|
||||
added_time=local_added.strftime("%H:%M"),
|
||||
).strip()
|
||||
|
||||
def _store(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue