diff options
| author | Thanos Apollo <public@thanosapollo.org> | 2026-05-03 00:11:35 +0300 |
|---|---|---|
| committer | Thanos Apollo <public@thanosapollo.org> | 2026-05-03 00:11:53 +0300 |
| commit | 2c053da57e56bea012ac56b05bba0c148ad080c0 (patch) | |
| tree | 3963b068fa3ff252494e4fa28a3b7fcb57a85bb6 | |
| parent | 7832a76c362b00e84c90e2613fecf8e855922ab6 (diff) | |
[fix] filter: query-watch: remove duplicates
| -rw-r--r-- | lisp/forgejo-filter.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/forgejo-filter.el b/lisp/forgejo-filter.el index 374ea90..933fb83 100644 --- a/lisp/forgejo-filter.el +++ b/lisp/forgejo-filter.el @@ -152,7 +152,10 @@ enriched with `watch-owner' and `watch-repo' keys." (watch-repo . ,repo)) alist) result)))) - (nreverse result))) + (cl-remove-duplicates + (nreverse result) + :key (lambda (a) (let-alist a (list .watch-owner .watch-repo .number))) + :test #'equal))) (defun forgejo-filter-query-issues (host owner repo filters) "Return issue alists for HOST/OWNER/REPO matching FILTERS. |
