Skip to content

Commit

Permalink
Merge pull request #44 from patterninc/GRO-8914_Retail-Readiness--Sea…
Browse files Browse the repository at this point in the history
…rch-functionality-is-not-working-when-Products-Driving--of-Revenue-filter-is-applied

[GRO-8914] Fixed adding where condition before QUALIFY statement
  • Loading branch information
NileshN authored Apr 18, 2023
2 parents 00cc7a5 + b28ccaa commit 2896447
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 75 deletions.
74 changes: 0 additions & 74 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion lib/query_helper/sql_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def insert_join_index
end

def insert_where_index
group_by_index() || order_by_index() || limit_index() || @sql.length
qualify_index() || group_by_index() || order_by_index() || limit_index() || @sql.length
end

def insert_qualify_index
Expand Down

0 comments on commit 2896447

Please sign in to comment.