mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-08 09:07:13 +00: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:
1 parent
7289c4ea56
commit
1197a048bc
2 files changed
+4
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user