Skip to content

Commit

Permalink
add search to search-activities, related to #189
Browse files Browse the repository at this point in the history
  • Loading branch information
hmuniz committed Oct 3, 2019
1 parent 2df0142 commit 630d82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ returns the first entry in word_en."
(sort (if (not (emptyp sf)) `((,sf ,(if (equal so "") "desc" so))) '(("date" "desc"))))
(result (clesc:es/search "suggestion"
:text term ; (unless (equal "all" search-field) term)
; :search-field (unless (equal "all" search-field) search-field)
:search-field "params"
; :string (if (equal "all" search-field) term)
:size limit :terms filters :from start :fields-order sort
:facets '("type" "action" "status" "doc_type" "user"
Expand Down

0 comments on commit 630d82f

Please sign in to comment.