Merge branch 'hotfix/searchHistory' into 'master'
del unuse line See merge request !298
Showing
1 changed file
with
0 additions
and
1 deletions
@@ -157,7 +157,6 @@ const searchHistory = (req, res) => { | @@ -157,7 +157,6 @@ const searchHistory = (req, res) => { | ||
157 | history = _.filter(history.split(','), old => old && old !== q); | 157 | history = _.filter(history.split(','), old => old && old !== q); |
158 | 158 | ||
159 | if (q) { | 159 | if (q) { |
160 | - sear; | ||
161 | history.unshift(q); | 160 | history.unshift(q); |
162 | res.cookie('_History', _.take(history, 9).join(','), { | 161 | res.cookie('_History', _.take(history, 9).join(','), { |
163 | path: '/', | 162 | path: '/', |
-
Please register or login to post a comment