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 92be7e0 Shorten URL
92be7e0 is described below
commit 92be7e0aaebc19df3f88cd5c2171fdfa7dec74f1
Author: Daniel Gruno <[email protected]>
AuthorDate: Fri Nov 20 13:01:37 2020 +0100
Shorten URL
---
webui/js/source/search.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webui/js/source/search.js b/webui/js/source/search.js
index a6cfc65..411a95b 100644
--- a/webui/js/source/search.js
+++ b/webui/js/source/search.js
@@ -31,7 +31,7 @@ function search(query, date) {
let sURL = '%sapi/stats.lua?d=%s&list=%s&domain=%s&q=%s'.format(apiURL,
date, list, domain, query);
GET(sURL, renderListView, {search: true, global: global});
let listid = '%s@%s'.format(list, domain);
- let newhref = "list.html?%s:%s:%s".format(listid, date, query);
+ let newhref = "list?%s:%s:%s".format(listid, date, query);
if (location.href !== newhref) {
window.history.pushState({}, null, newhref);
}