urlencode cursors, otherwise it fails on # and similar
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 0s
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 0s
This commit is contained in:
parent
248387b355
commit
70acfb1230
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -889,7 +889,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "little-hesinde"
|
name = "little-hesinde"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"calibre-db",
|
"calibre-db",
|
||||||
"clap",
|
"clap",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "little-hesinde"
|
name = "little-hesinde"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = { workspace = true }
|
license = { workspace = true }
|
||||||
authors = { workspace = true }
|
authors = { workspace = true }
|
||||||
|
@ -71,7 +71,7 @@ pub mod opds {
|
|||||||
pub mod templates;
|
pub mod templates;
|
||||||
|
|
||||||
pub const APP_NAME: &str = "little-hesinde";
|
pub const APP_NAME: &str = "little-hesinde";
|
||||||
pub const VERSION: &str = "0.1.2";
|
pub const VERSION: &str = "0.1.3";
|
||||||
|
|
||||||
/// Internal marker data in lieu of a proper `Accept` header.
|
/// Internal marker data in lieu of a proper `Accept` header.
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy)]
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{% extends "base" %}
|
{% extends "base" %}
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% if has_previous %}
|
{% if has_previous %}
|
||||||
<a class="secondary" href="/authors/{{ backward_cursor }}/DESC">← back</a>
|
<a class="secondary" href="/authors/{{ backward_cursor | urlencode }}/DESC">← back</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if has_previous and has_more %}|{% endif%}
|
{% if has_previous and has_more %}|{% endif%}
|
||||||
|
|
||||||
{% if has_more %}
|
{% if has_more %}
|
||||||
<a class="secondary" href="/authors/{{ forward_cursor }}/ASC">more →</a>
|
<a class="secondary" href="/authors/{{ forward_cursor | urlencode }}/ASC">more →</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock title %}
|
{% endblock title %}
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{% extends "base" %}
|
{% extends "base" %}
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% if has_previous %}
|
{% if has_previous %}
|
||||||
<a class="secondary" href="/books/{{ backward_cursor }}/DESC">← back</a>
|
<a class="secondary" href="/books/{{ backward_cursor | urlencode }}/DESC">← back</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if has_previous and has_more %}|{% endif%}
|
{% if has_previous and has_more %}|{% endif%}
|
||||||
|
|
||||||
{% if has_more %}
|
{% if has_more %}
|
||||||
<a class="secondary" href="/books/{{ forward_cursor }}/ASC">more →</a>
|
<a class="secondary" href="/books/{{ forward_cursor | urlencode }}/ASC">more →</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock title %}
|
{% endblock title %}
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{% extends "base" %}
|
{% extends "base" %}
|
||||||
{% block title %}
|
{% block title %}
|
||||||
{% if has_previous %}
|
{% if has_previous %}
|
||||||
<a class="secondary" href="/series/{{ backward_cursor }}/DESC">← back</a>
|
<a class="secondary" href="/series/{{ backward_cursor | urlencode }}/DESC">← back</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if has_previous and has_more %}|{% endif%}
|
{% if has_previous and has_more %}|{% endif%}
|
||||||
|
|
||||||
{% if has_more %}
|
{% if has_more %}
|
||||||
<a class="secondary" href="/series/{{ forward_cursor }}/ASC">more →</a>
|
<a class="secondary" href="/series/{{ forward_cursor | urlencode }}/ASC">more →</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock title %}
|
{% endblock title %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user