summaryrefslogtreecommitdiffstats
path: root/base/ca/shared
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-08-12 18:59:57 +0200
committerEndi S. Dewata <edewata@redhat.com>2015-08-12 20:05:17 +0200
commit24d7d88bd0d8b79fe5b8b6dfd84238399bc1433c (patch)
tree896b7891fc8b67185d37ad5fccee698ddf4790b6 /base/ca/shared
parent017f4f9d4b3c6051f082b8c2b49d5143fd8450e9 (diff)
downloadpki-24d7d88bd0d8b79fe5b8b6dfd84238399bc1433c.tar.gz
pki-24d7d88bd0d8b79fe5b8b6dfd84238399bc1433c.tar.xz
pki-24d7d88bd0d8b79fe5b8b6dfd84238399bc1433c.zip
Fixed missing query parameters in ListCerts page.
The ListCerts servlet and the templates have been fixed to pass the skipRevoked and skipNonValid parameters to the subsequent page. Some debugging messages have been cleaned up as well. https://fedorahosted.org/pki/ticket/1538
Diffstat (limited to 'base/ca/shared')
-rw-r--r--base/ca/shared/webapps/ca/agent/ca/queryCert.template4
-rw-r--r--base/ca/shared/webapps/ca/ee/ca/queryCert.template4
2 files changed, 8 insertions, 0 deletions
diff --git a/base/ca/shared/webapps/ca/agent/ca/queryCert.template b/base/ca/shared/webapps/ca/agent/ca/queryCert.template
index 40ee64b0c..0a423823f 100644
--- a/base/ca/shared/webapps/ca/agent/ca/queryCert.template
+++ b/base/ca/shared/webapps/ca/agent/ca/queryCert.template
@@ -474,6 +474,10 @@ document.write(
result.header.totalRecordCount+ "'>\n"+
"<INPUT TYPE=hidden NAME=queryCertFilter VALUE='"+
result.header.queryCertFilter+ "'>\n"+
+"<INPUT TYPE=hidden NAME=skipRevoked VALUE='"+
+(result.header.skipRevoked ? result.header.skipRevoked : "") + "'>\n"+
+"<INPUT TYPE=hidden NAME=skipNonValid VALUE='"+
+(result.header.skipNonValid ? result.header.skipNonValid : "") + "'>\n"+
"<INPUT TYPE=hidden NAME=querySentinelDown VALUE='"+
result.header.querySentinelDown+ "'>\n"+
"<INPUT TYPE=hidden NAME=querySentinelUp VALUE='"+
diff --git a/base/ca/shared/webapps/ca/ee/ca/queryCert.template b/base/ca/shared/webapps/ca/ee/ca/queryCert.template
index 1165cb309..d4a56a79a 100644
--- a/base/ca/shared/webapps/ca/ee/ca/queryCert.template
+++ b/base/ca/shared/webapps/ca/ee/ca/queryCert.template
@@ -445,6 +445,10 @@ document.write(
result.header.totalRecordCount+ "'>\n"+
"<INPUT TYPE=hidden NAME=queryCertFilter VALUE='"+
result.header.queryCertFilter+ "'>\n"+
+"<INPUT TYPE=hidden NAME=skipRevoked VALUE='"+
+(result.header.skipRevoked ? result.header.skipRevoked : "") + "'>\n"+
+"<INPUT TYPE=hidden NAME=skipNonValid VALUE='"+
+(result.header.skipNonValid ? result.header.skipNonValid : "") + "'>\n"+
"<INPUT TYPE=hidden NAME=querySentinelDown VALUE='"+
result.header.querySentinelDown+ "'>\n"+
"<INPUT TYPE=hidden NAME=querySentinelUp VALUE='"+