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

commit d5436faf2ec851ea0edbae206dff0f6f027b1275
Author: Daniel Gruno <[email protected]>
AuthorDate: Tue Sep 21 15:21:24 2021 -0500

    if searching, say so to the list view renderer
---
 webui/js/source/sidebar-calendar.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/webui/js/source/sidebar-calendar.js 
b/webui/js/source/sidebar-calendar.js
index 0c9ecc5..e1471c4 100644
--- a/webui/js/source/sidebar-calendar.js
+++ b/webui/js/source/sidebar-calendar.js
@@ -181,6 +181,7 @@ function calendar_click(year, month) {
     }
     GET('%sapi/stats.lua?list=%s&domain=%s&d=%u-%u&q=%s'.format(apiURL, 
calendar_current_list, calendar_current_domain, year, month, q), 
renderListView, {
         to: '%s@%s'.format(calendar_current_list, calendar_current_domain),
-        update_calendar: false
+        update_calendar: false,
+        search: (q && q.length > 0)
     });
 }

Reply via email to