Fix search of web

This commit is contained in:
Florian Baumann 2023-06-30 10:31:43 +02:00
parent b4f0067b4a
commit 446936496f

View File

@ -4,7 +4,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Serra</title> <title>{{.title}}{{ if .query.Set }} - Set: {{.query.Set}}{{end}}</title>
<link rel="stylesheet" href="https://jenil.github.io/bulmaswatch/cosmo/bulmaswatch.min.css"> <link rel="stylesheet" href="https://jenil.github.io/bulmaswatch/cosmo/bulmaswatch.min.css">
<!-- <link rel="stylesheet" href="https://jenil.github.io/bulmaswatch/lumen/bulmaswatch.min.css"> --> <!-- <link rel="stylesheet" href="https://jenil.github.io/bulmaswatch/lumen/bulmaswatch.min.css"> -->
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"> --> <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"> -->
@ -67,7 +67,7 @@
<section class="hero is-black"> <section class="hero is-black">
<div class="hero-body"> <div class="hero-body">
<p class="title"> <p class="title">
{{ .title }} <a href="/">{{ .title }}</a>
</p> </p>
<p class="subtitle"> <p class="subtitle">
<i>Magic: The Gathering</i> Collection <i>Magic: The Gathering</i> Collection
@ -253,11 +253,8 @@
var selectedSetVal = getParam("set"); var selectedSetVal = getParam("set");
document.getElementById("set").value = selectedSetVal; document.getElementById("set").value = selectedSetVal;
var selectedSetVal = getParam("page"); var selectedLimitVal = getParam("limit");
document.getElementById("page").value = selectedSetVal; document.getElementById("limit").value = selectedLimitVal;
var selectedSetVal = getParam("limit");
document.getElementById("limit").value = selectedSetVal;
var selectedSortVal = getParam("sort"); var selectedSortVal = getParam("sort");
document.getElementById("sort").value = selectedSortVal; document.getElementById("sort").value = selectedSortVal;