[PR #4890] [MERGED] Fix search hint endpoint error #10321

Closed
opened 2026-02-07 06:18:06 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4890
Author: @nielsvanvelzen
Created: 12/30/2020
Status: Merged
Merged: 12/31/2020
Merged by: @joshuaboniface

Base: masterHead: 4888-fix-search-hints


📝 Commits (1)

  • 2bb84c0 Fix limit parameter error for search hints endpoint

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Emby.Server.Implementations/Library/SearchEngine.cs (+1 -1)

📄 Description

Changes
Use Math.Min to make sure the limit parameter is never higher then the amount of items.

Issues

Closes #4888


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4890 **Author:** [@nielsvanvelzen](https://github.com/nielsvanvelzen) **Created:** 12/30/2020 **Status:** ✅ Merged **Merged:** 12/31/2020 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `4888-fix-search-hints` --- ### 📝 Commits (1) - [`2bb84c0`](https://github.com/jellyfin/jellyfin/commit/2bb84c0675b95d1b2d42912248467fa52ecebe5c) Fix limit parameter error for search hints endpoint ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Library/SearchEngine.cs` (+1 -1) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** Use Math.Min to make sure the limit parameter is never higher then the amount of items. **Issues** Closes #4888 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:18:06 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10321