Skip to content

Commit

Permalink
fix agent search not working well by adding "*" to the search query
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Nov 5, 2024
1 parent 69554eb commit bd16bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/search_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class SearchController < ApplicationController
namespace "/agents" do
get do
query = params[:query] || params[:q]
query = "#{query}*"
page, page_size = page_params
type = params[:agentType].blank? ? nil : params[:agentType]

Expand Down

0 comments on commit bd16bd4

Please sign in to comment.