History

Search docs by name not slug

Fixes #151.

Thibaut committed 11 years ago

Commit 39e01bf1 parent 58a463d2 files · +2 −1Browse files

Showing the changes to assets/javascripts/views (1 of 2 files). Show all

Unified · Split

assets/javascripts/views/search/search_scope.coffee+1−1
@@ -28,7 +28,7 @@ class app.views.SearchScope extends app.View · 27 unmodified lines
2828
2929 search: (value) ->
3030 unless @doc
31− @searcher.find app.docs.all(), 'slug', value
31+ @searcher.find app.docs.all(), 'text', value
3232 return
3333
3434 searchUrl: ->