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

[Bug]: api return unexpected result to client #2547

Open
Mister-Hope opened this issue Jun 4, 2024 · 2 comments
Open

[Bug]: api return unexpected result to client #2547

Mister-Hope opened this issue Jun 4, 2024 · 2 comments
Labels
bug Something isn't working Inactive

Comments

@Mister-Hope
Copy link
Member

Mister-Hope commented Jun 4, 2024

问题描述 | Describe the bug

When the client gives path like path=path1,path2,path1,path3,path2, the server only return 3 results with path1,path2,path3.

问题网站 | Website URL

https://waline.js.org/guide/features/pageview.html

服务部署在哪里? | Where your waline deploy?

Vercel (Default)

数据存储在哪里?| Where your comment data store?

LeanCloud(https://leancloud.app)


Problem description | Describe the bug

When the client gives path like path=path1,path2,path1,path3,path2, the server only returns 3 results with path1,path2,path3.

Question Website | Website URL

https://waline.js.org/guide/features/pageview.html

Where is the service deployed? | Where your waline deploy?

Vercel (Default)

Where is the data stored? | Where your comment data store?

LeanCloud(https://leancloud.app)

@Mister-Hope Mister-Hope added the bug Something isn't working label Jun 4, 2024
@Mister-Hope
Copy link
Member Author

Mister-Hope commented Jun 4, 2024

I would like to regard this as a server side bug, as it's not fair in 3rd party themes to do a filtering & remap with the matched elements for theme developers.

The server should try to response the result the way the client ask for. @lizheming

@lizheming
Copy link
Collaborator

lizheming commented Jun 26, 2024

https://walinejs.comment.lithub.cc/api/article?path=%2Fguide%2Fclient%2Fcount.html%2C%2F%2F%2Cguide%2Fclient%2Fcount.html&type=time&lang=zh-CN

It seems there has no problem with latest server version. Could you check it again with latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Inactive
Projects
None yet
Development

No branches or pull requests

2 participants