]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commit
Fix: Clear metadata cache when the filename(s) change (#5957)
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Thu, 29 Feb 2024 18:34:15 +0000 (10:34 -0800)
committerGitHub <noreply@github.com>
Thu, 29 Feb 2024 18:34:15 +0000 (10:34 -0800)
commitc57c1d5389fd01b52858fb1998b911e1fd4ebb54
tree56242e6d90e025ed38b060858cd95f043318d60b
parentaf16bb3934d47b5bd87db7f2f8691757f1e9097f
Fix: Clear metadata cache when the filename(s) change (#5957)

* Update doc modified time upon move and rename

* Clear the cached metadata if the filename(s) have been changed

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
src/documents/caching.py
src/documents/signals/handlers.py