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 af62c72 Show list name label if searching with any wildcard anywhere
in full list name
af62c72 is described below
commit af62c729ca3647991a95a4a7437f7b90d2a17d19
Author: Daniel Gruno <[email protected]>
AuthorDate: Sat Sep 11 11:32:49 2021 -0500
Show list name label if searching with any wildcard anywhere in full list
name
---
webui/js/source/listview-threaded.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webui/js/source/listview-threaded.js
b/webui/js/source/listview-threaded.js
index 5a6f3e8..417a73a 100644
--- a/webui/js/source/listview-threaded.js
+++ b/webui/js/source/listview-threaded.js
@@ -132,7 +132,7 @@ function listview_threaded_element(thread, idx) {
let as = new HTML('div', {class: 'listview_email_as'});
let suba = new HTML('a', {}, eml.subject === '' ? '(No subject)' :
eml.subject);
- if (current_json.name == '*' || current_json.domain == '*') {
+ if (current_json.list.match(/\*/) || current_json.domain == '*') {
let kbd = new HTML('kbd', {class: 'listview_kbd'},
eml.list_raw.replace(/[<>]/g, '').replace('.','@',1))
suba = [kbd, suba];
}