Persist Sort on Subreddit Pages

This commit is contained in:
spikecodes 2020-12-26 12:43:51 -08:00
parent abfcfdf09e
commit bec5c78709
2 changed files with 20 additions and 20 deletions

36
Cargo.lock generated
View file

@ -93,7 +93,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4ca8ce00b267af8ccebbd647de0d61e0674b6e61185cc7a592ff88772bed655"
dependencies = [
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -267,7 +267,7 @@ checksum = "ad26f77093333e0e7c6ffe54ebe3582d908a104e448723eec6d43d08b07143fb"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -346,7 +346,7 @@ checksum = "e5444eec77a9ec2bfe4524139e09195862e981400c4358d3b760cae634e4c4ee"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -357,7 +357,7 @@ checksum = "8d3a45e77e34375a7923b1e8febb049bb011f064714a8e17a1a616fef01da13d"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -562,7 +562,7 @@ checksum = "41cb0e6161ad61ed084a36ba71fbba9e3ac5aee3606fb607fe08da6acbcf3d8c"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -604,7 +604,7 @@ dependencies = [
"heck",
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -696,7 +696,7 @@ dependencies = [
"proc-macro-hack",
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -1272,7 +1272,7 @@ checksum = "65ad2ae56b6abe3a1ee25f15ee605bacadb9a764edaba9c2bf4103800d4a1895"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -1283,7 +1283,7 @@ checksum = "f8e8d2bf0b23038a4424865103a4df472855692821aab4e4f5c3312d461d9e5f"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -1584,7 +1584,7 @@ checksum = "c84d3526699cd55261af4b941e4e725444df67aa4f9e6a3564f18030d12672df"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -1700,7 +1700,7 @@ dependencies = [
"quote 1.0.8",
"serde",
"serde_derive",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -1716,7 +1716,7 @@ dependencies = [
"serde_derive",
"serde_json",
"sha1",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -1738,9 +1738,9 @@ dependencies = [
[[package]]
name = "syn"
version = "1.0.55"
version = "1.0.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a571a711dddd09019ccc628e1b17fe87c59b09d513c06c026877aa708334f37a"
checksum = "a9802ddde94170d186eeee5005b798d9c159fa970403f1be19976d0cfb939b72"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
@ -1764,7 +1764,7 @@ checksum = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -1831,7 +1831,7 @@ dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"standback",
"syn 1.0.55",
"syn 1.0.56",
]
[[package]]
@ -2120,7 +2120,7 @@ dependencies = [
"log",
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
"wasm-bindgen-shared",
]
@ -2154,7 +2154,7 @@ checksum = "b5a48c72f299d80557c7c62e37e7225369ecc0c963964059509fbafe917c7549"
dependencies = [
"proc-macro2 1.0.24",
"quote 1.0.8",
"syn 1.0.55",
"syn 1.0.56",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]

View file

@ -42,11 +42,11 @@
<footer>
{% if ends.0 != "" %}
<a href="?before={{ ends.0 }}">PREV</a>
<a href="?sort={{ sort }}&before={{ ends.0 }}">PREV</a>
{% endif %}
{% if ends.1 != "" %}
<a href="?after={{ ends.1 }}">NEXT</a>
<a href="?sort={{ sort }}&after={{ ends.1 }}">NEXT</a>
{% endif %}
</footer>
</div>