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 2021/09/21 20:25:51 UTC

[incubator-ponymail-foal] branch master updated (b6f22ea -> 34f2ae9)

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

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


    from b6f22ea  regen JS
     new b08bf0f  utilize the 'search' shortcut when query is non-null
     new 34f2ae9  regen

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 webui/js/ponymail.js                | 2 +-
 webui/js/source/sidebar-calendar.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

[incubator-ponymail-foal] 02/02: regen

Posted by hu...@apache.org.
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 <hu...@apache.org>
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)
     });

[incubator-ponymail-foal] 01/02: utilize the 'search' shortcut when query is non-null

Posted by hu...@apache.org.
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 b08bf0f6c64c6da839a2b1368e143af3abbd3759
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Sep 21 15:25:27 2021 -0500

    utilize the 'search' shortcut when query is non-null
---
 webui/js/source/sidebar-calendar.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webui/js/source/sidebar-calendar.js b/webui/js/source/sidebar-calendar.js
index e1471c4..64176f6 100644
--- a/webui/js/source/sidebar-calendar.js
+++ b/webui/js/source/sidebar-calendar.js
@@ -180,7 +180,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)
     });