marsara9 / lemmy-search

An enhanced search engine just for Lemmy/Fediverse
https://www.search-lemmy.com
GNU Affero General Public License v3.0
81 stars 4 forks source link

Communities and Authors that belong to other instances aren't formatted correctly for cross-linking. #7

Closed marsara9 closed 1 year ago

marsara9 commented 1 year ago

When clicking on community name or author name in the search results, for a community or author that belongs to an instance that isn't the user's preferred instance, the link is currently incorrect as no data about what instance that community belongs to is passed to the client.

the SearchCommunity and SearchAuthor structs just need to be updated to include the actual instance that they belong to and then the results page needs to link to those correctly.

Then the UI needs to be updated to compare the owning instance to the user's preferred instance.