Skip to content

Commit 205db72

Browse files
authored
Merge pull request #1887 from SegoCode/patch-1
Fix: url with filters in gui client
2 parents 55ec5d0 + f00a03a commit 205db72

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

assets/js/application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ var Downloads = {
475475
if (window.history && window.history.pushState) {
476476
var url = os === ''
477477
? `${baseURLPrefix}downloads/guis`
478-
: `${baseURLPrefix}download/guis?os=${os}`;
478+
: `${baseURLPrefix}downloads/guis?os=${os}`;
479479
try {
480480
history.pushState(null, $(this).html(), url);
481481
} catch (e) {

content/downloads/guis/_index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
url: /downloads/guis.html
66
aliases:
77
- /downloads/guis/index.html
8+
- /download/guis/index.html
9+
- /download/guis.html
810
---
911

1012
<div id="main">

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<meta name="robots" content="noindex">
1414
</head>
1515
<body>
16-
<script>window.location.replace(document.querySelector("link[rel='canonical']").href + window.location.hash)</script>
16+
<script>window.location.replace(document.querySelector("link[rel='canonical']").href + window.location.search + window.location.hash)</script>
1717
<h1>Redirecting&hellip;</h1>
1818
<a href="{{ $redirect_to }}">Click here if you are not redirected.</a>
1919
</body>

layouts/alias.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="robots" content="noindex">
99
</head>
1010
<body>
11-
<script>window.location.replace(document.querySelector("link[rel='canonical']").href + window.location.hash)</script>
11+
<script>window.location.replace(document.querySelector("link[rel='canonical']").href + window.location.search + window.location.hash)</script>
1212
<h1>Redirecting&hellip;</h1>
1313
<a href="{{ $redirect_to }}">Click here if you are not redirected.</a>
1414
</body>

0 commit comments

Comments
 (0)