Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More accurate pagination URLs #215

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

notartom
Copy link
Member

@notartom notartom commented Apr 1, 2024

Before this change, the pagination URLs just pointed to #, which meant
that you couldn't do things like 'Open in new tab' or bookmark a
specific page if you were sorting by Release Date.

This commit helps solve those problems on the Reader, Group, and Author
pages by:

  • Specifying a better URL for the pagination links (solves for 'Open in
    new tab')
  • Pushing the search_order parameter into the page URL when new pages
    are fetched from the server (solves for accurate bookmarking)

(I haven't fixed it on the Search pages.)

Before this change, the pagination URLs just pointed to `#`, which meant
that you couldn't do things like 'Open in new tab' or bookmark a
specific page if you were sorting by Release Date.

This commit helps solve those problems on the Reader, Group, and Author
pages by:

 * Specifying a better URL for the pagination links (solves for 'Open in
   new tab')
 * Pushing the `search_order` parameter into the page URL when new pages
   are fetched from the server (solves for accurate bookmarking)

(I haven't fixed it on the Search pages.)
@notartom notartom merged commit a27637d into LibriVox:master Apr 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants