Skip to content

/search?type=Url doesn't work with comments and /search?type=All doesn't prioritize the resolved post/comment #3450

@KaKi87

Description

@KaKi87

Requirements

  • This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • Please check to see if this issue already exists.
  • It's a single bug. Do not report multiple bugs in one issue.
  • It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

Searching with type=Url allows only returning resolved contents, which works fine when with post URLs, but returns nothing with comment URLs.

And switching back to type=All, for both cases (post and comment) drowns the resolved content into a mess of other search results, instead of showing it first.

Steps to Reproduce

  1. Go to https://jlai.lu/search?q=https://lemmy.world/post/1&type=Url ;
  2. Only see the resolved post (expected) ;
  3. Go to https://jlai.lu/search?q=https://lemmy.world/comment/1&type=Url ;
  4. See nothing (expected : see the resolved comment) ;
  5. Go to https://jlai.lu/search?q=https://lemmy.world/comment/1&type=All ;
  6. See the resolved comment at the 21st position (expected : at the first position).

Technical Details

OS/browser/device not relevant.

Screenshots :

  • Step 1
Image
  • Step 3
Image
  • Step 5 :
Image

Lemmy Instance Version

0.19.13

Lemmy Instance URL

https://jlai.lu


Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions