Skip to content

Commit

Permalink
Merge pull request meshery#2663 from utkarsh-pro/utkarsh-pro/fix/patt…
Browse files Browse the repository at this point in the history
…erns-search

Fix patterns search for local provider
  • Loading branch information
leecalcote authored Apr 3, 2021
2 parents 88e0bb4 + a6a2eb0 commit 88823c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/meshery_pattern_persister.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (mpp *MesheryPatternPersister) GetMesheryPatterns(search, order string, pag

if search != "" {
like := "%" + strings.ToLower(search) + "%"
query = query.Where("(lower(meshery_pattern.name) like ?)", like)
query = query.Where("(lower(meshery_patterns.name) like ?)", like)
}

query.Table("meshery_patterns").Count(&count)
Expand Down

0 comments on commit 88823c1

Please sign in to comment.