From 623ac441d504c7b75926a65b9455d472e615edd2 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 17 Jan 2023 10:01:49 -0800 Subject: [PATCH] Allow setting mailrule order from frontend --- .../mail-rule-edit-dialog/mail-rule-edit-dialog.component.html | 1 + .../mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts | 1 + src-ui/src/app/data/paperless-mail-rule.ts | 2 ++ src/paperless_mail/views.py | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html index 64d54a72c..ebb7458e6 100644 --- a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html +++ b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.html @@ -13,6 +13,7 @@ +

Paperless will only process mails that match all of the filters specified below.

diff --git a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts index 63699fd66..0a0f2837d 100644 --- a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts @@ -153,6 +153,7 @@ export class MailRuleEditDialogComponent extends EditDialogComponent