Skip to content

Commit bf3e584

Browse files
KN4CK3Rzeripathlunny
authored
Fix repository search (#15428)
Co-authored-by: zeripath <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent 27f9bda commit bf3e584

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/user/dashboard/repolist.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</h4>
3939
<div class="ui attached segment repos-search">
4040
<div class="ui fluid right action left icon input" :class="{loading: isLoading}">
41-
<input @input="searchRepos(reposFilter)" v-model="searchQuery" ref="search" placeholder="{{.i18n.Tr "home.search_repos"}}">
41+
<input @input="changeReposFilter(reposFilter)" v-model="searchQuery" ref="search" placeholder="{{.i18n.Tr "home.search_repos"}}">
4242
<i class="icon df ac jc">{{svg "octicon-search" 16}}</i>
4343
<div class="ui dropdown icon button" title="{{.i18n.Tr "home.filter"}}">
4444
<i class="icon df ac jc m-0">{{svg "octicon-filter" 16}}</i>

web_src/js/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3157,7 +3157,7 @@ function initVueComponents() {
31573157
},
31583158

31593159
mounted() {
3160-
this.searchRepos(this.reposFilter);
3160+
this.changeReposFilter(this.reposFilter);
31613161
$(this.$el).find('.poping.up').popup();
31623162
$(this.$el).find('.dropdown').dropdown();
31633163
this.setCheckboxes();

0 commit comments

Comments
 (0)