You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2025/07/23 08:17:49 UTC

(incubator-ponymail-foal) branch master updated: Update mgmt.py, unshadow core function filter

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 6046ae8  Update mgmt.py, unshadow core function filter
6046ae8 is described below

commit 6046ae8dca59c3da319a0e8fbb660cd151d9a5ca
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jul 23 10:17:44 2025 +0200

    Update mgmt.py, unshadow core function filter
---
 server/endpoints/mgmt.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/server/endpoints/mgmt.py b/server/endpoints/mgmt.py
index e624548..b45eb37 100644
--- a/server/endpoints/mgmt.py
+++ b/server/endpoints/mgmt.py
@@ -50,9 +50,9 @@ async def process(
     if action == "log":
         numentries = int(indata.get("size", 50))
         page = int(indata.get("page", 0))
-        filter = indata.get("filter")
-        if filter:
-            actionFilter = (filter)
+        a_filter = indata.get("filter")
+        if a_filter:
+            actionFilter = (a_filter)
         else:
             actionFilter = ("edit","delete","hide","unhide")
         out = []