File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ public async Task<IActionResult> RunAsync([HttpTrigger(AuthorizationLevel.Anonym
52
52
53
53
string sql =
54
54
"select *, 1 as rowOrder from organizations where " +
55
- "MATCH (Organization) AGAINST (@term IN BOOLEAN MODE) " +
56
- "UNION " +
57
- "select *, 2 as rowOrder from organizations where " +
58
- "MATCH(Organization) AGAINST(concat(@term, '* -', @term) IN BOOLEAN MODE) " +
59
- "ORDER by rowOrder, Organization" ;
55
+ "MATCH (Organization) AGAINST (@term IN BOOLEAN MODE); " ;
56
+ // "UNION " +
57
+ // "select *, 2 as rowOrder from organizations where " +
58
+ // "MATCH(Organization) AGAINST(concat(@term, '* -', @term) IN BOOLEAN MODE) " +
59
+ // "ORDER by rowOrder, Organization";
60
60
61
61
using ( var command = new MySqlCommand ( sql , conn ) )
62
62
{
You can’t perform that action at this time.
0 commit comments