diff --git a/modules/portal/app/controllers/VinylDNS.scala b/modules/portal/app/controllers/VinylDNS.scala index b592e814a..c486698a6 100644 --- a/modules/portal/app/controllers/VinylDNS.scala +++ b/modules/portal/app/controllers/VinylDNS.scala @@ -432,8 +432,16 @@ class VinylDNS @Inject() ( } def getZoneChange(id: String): Action[AnyContent] = userAction.async { implicit request => + val queryParameters = new HashMap[String, java.util.List[String]]() + for { + (name, values) <- request.queryString + } queryParameters.put(name, values.asJava) val vinyldnsRequest = - new VinylDNSRequest("GET", s"$vinyldnsServiceBackend", s"zones/$id/changes") + new VinylDNSRequest( + "GET", + s"$vinyldnsServiceBackend", + s"zones/$id/changes", + parameters = queryParameters) executeRequest(vinyldnsRequest, request.user).map(response => { Status(response.status)(response.body) .withHeaders(cacheHeaders: _*) diff --git a/modules/portal/app/views/zones/zoneTabs/zoneChangeHistory.scala.html b/modules/portal/app/views/zones/zoneTabs/zoneChangeHistory.scala.html index 9c87d8b7e..cc47c9d2a 100644 --- a/modules/portal/app/views/zones/zoneTabs/zoneChangeHistory.scala.html +++ b/modules/portal/app/views/zones/zoneTabs/zoneChangeHistory.scala.html @@ -40,25 +40,26 @@ data-toggle="modal"> ACL Rules - {{zoneChange.zone.adminGroupName}} + + - - -
+
+ {{ getZoneHistoryPageNumber() }}
+
@@ -76,12 +77,6 @@