Skip to content

Commit 6757740

Browse files
committed
Fix search url
1 parent 7d007f5 commit 6757740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ function initVueComponents(){
17021702
return this.repos.length > 0 && this.repos.length < this.repoTypes[this.reposFilter].count;
17031703
},
17041704
searchURL: function() {
1705-
return this.suburl + '/api/v1/repos/search?uid=' + this.uid + '&q=' + this.searchQuery + '&limit=' + this.searchLimit + '&mode=' + this.repoTypes[this.reposFilter].searchMode;
1705+
return this.suburl + '/api/v1/repos/search?uid=' + this.uid + '&q=' + this.searchQuery + '&limit=' + this.searchLimit + '&mode=' + this.repoTypes[this.reposFilter].searchMode + (this.reposFilter !== 'all' ? '&exclusive=1' : '');
17061706
},
17071707
},
17081708

0 commit comments

Comments
 (0)