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 34f2ae967382788d55290e06d1d194957584c83a
Author: Daniel Gruno <[email protected]>
AuthorDate: Tue Sep 21 15:25:35 2021 -0500

    regen
---
 webui/js/ponymail.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webui/js/ponymail.js b/webui/js/ponymail.js
index b848310..6f1c506 100644
--- a/webui/js/ponymail.js
+++ b/webui/js/ponymail.js
@@ -3986,7 +3986,7 @@ function calendar_click(year, month) {
         window.history.pushState({}, null, newhref);
     }
     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),
+        to: (q && q.length > 0) ? 'search' : 
'%s@%s'.format(calendar_current_list, calendar_current_domain),
         update_calendar: false,
         search: (q && q.length > 0)
     });

Reply via email to