Skip to content

Commit 6730747

Browse files
committed
feat: Increase API search limit from 20 to 50 in searchVideos function
1 parent 6a8046b commit 6730747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/themes/js/made.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function searchVideos() {
104104
showLoading();
105105
console.log("Fetching results from API");
106106
try {
107-
w3.http(getAbsoluteUrl("api/v1/search?limit=20&q=" + query), function () {
107+
w3.http(getAbsoluteUrl("api/v1/search?limit=50&q=" + query), function () {
108108
if (this.readyState == 4) {
109109
if (this.status == 200) {
110110
renderSearchResults(JSON.parse(this.responseText));

0 commit comments

Comments
 (0)