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

分页问题 #48

Closed
1 task done
1379 opened this issue Dec 3, 2022 · 0 comments · Fixed by #49
Closed
1 task done

分页问题 #48

1379 opened this issue Dec 3, 2022 · 0 comments · Fixed by #49
Labels
bug Something isn't working

Comments

@1379
Copy link
Contributor

1379 commented Dec 3, 2022

Checklist

What is version of Sonic has the issue?

latest

What database are you using?

SQLite3

What is your deployment method?

Executable file

Your site address.

No response

What happened?

如果按照分类或者标签筛选后的文章在进行分页切换返回的路径前少了一个 /,导致会在浏览器现有url后再拼接返回的路径会造成404,且如果当前页面是第2页,上一页的href目前直接返回的项目根路径,丢失了路径中的/tag或者/category导致退出了按条件筛选
@hooxuu

Relevant log output

No response

Additional information

No response

@1379 1379 added the bug Something isn't working label Dec 3, 2022
@1379 1379 mentioned this issue Dec 3, 2022
@1379 1379 closed this as completed in #49 Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant