mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-03 10:28:51 +02:00
Remove hardcoded search result limit of 5
The search API call had a hardcoded limit=5 parameter which restricted search results to only 5 items regardless of how many matches exist. Removing this limit allows the server's default pagination to apply, showing all relevant search results to the user. Fixes #1872
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ export default {
|
||||
return
|
||||
}
|
||||
this.isFetching = true
|
||||
const results = await this.$nativeHttp.get(`/api/libraries/${this.currentLibraryId}/search?q=${value}&limit=5`).catch((error) => {
|
||||
const results = await this.$nativeHttp.get(`/api/libraries/${this.currentLibraryId}/search?q=${value}`).catch((error) => {
|
||||
console.error('Search error', error)
|
||||
return null
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user