Skip to content

Commit

Permalink
Fixed #3391
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Oct 24, 2018
1 parent 6eb5200 commit 1ce08ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/web/assets/cp/dist/js/Craft.js
Original file line number Diff line number Diff line change
Expand Up @@ -2540,6 +2540,7 @@ Craft.BaseElementIndex = Garnish.Base.extend(
if (this.searching) {
// Clear the search value without causing it to update elements
this.searchText = null;
this.searchQuery = null;
this.$search.val('');
this.stopSearching();
}
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/js/Craft.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/js/Craft.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/web/assets/cp/src/js/BaseElementIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ Craft.BaseElementIndex = Garnish.Base.extend(
if (this.searching) {
// Clear the search value without causing it to update elements
this.searchText = null;
this.searchQuery = null;
this.$search.val('');
this.stopSearching();
}
Expand Down

0 comments on commit 1ce08ef

Please sign in to comment.