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

Preserve order of suggestions search results (#2065) #2069

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

fsteeg
Copy link
Member

@fsteeg fsteeg commented Sep 4, 2024

Use ordered list (toList), not unordered set (toSet).

Will resolve #2065.

@dr0i: I wanted to deploy this to test for review, but https://test.lobid.org/resources is down, and there seems to be no monit process for it on our current test server (q3). Is this still missing from the move from q2 to q3? Or did you change something in the setup? This is a very small change, so maybe the best process in this case would be that you review it and then deploy it straight to production?

Use ordered list (`toList`), not unordered set (`toSet`)
@fsteeg fsteeg requested a review from dr0i September 4, 2024 10:42
@dr0i
Copy link
Member

dr0i commented Sep 5, 2024

@fsteeg I've readded the test instance , see also https://lobid.org/apihealth/ . You may want to review on test instance?

@dr0i dr0i assigned fsteeg and unassigned dr0i Sep 5, 2024
@fsteeg
Copy link
Member Author

fsteeg commented Sep 5, 2024

Yes, thanks, looks good:

https://test.lobid.org/resources/search?name=Hunsrücker+Heimatblätter&format=json:title

Could you deploy to production and merge?

@fsteeg fsteeg assigned dr0i and unassigned fsteeg Sep 5, 2024
@dr0i dr0i merged commit 63b9d31 into master Sep 5, 2024
1 check passed
@dr0i dr0i deleted the 2065-suggestOrder branch September 5, 2024 09:37
@dr0i
Copy link
Member

dr0i commented Sep 5, 2024

Deployed to production, closing.

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.

Suggestions search results have different order than other searches
2 participants