| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 441196f commit 3dc8820
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -190,7 +190,7 @@ def _goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, char | |||
| 190 | 190 | countFirstField = queries[Backend.getIdentifiedDbms()].count.query % expressionFieldsList[0] | |
| 191 | 191 | countedExpression = expression.replace(expressionFields, countFirstField, 1) | |
| 192 | 192 | ||
| 193 | - if " ORDER BY " in expression.upper(): | ||
| 193 | + if " ORDER BY " in countedExpression.upper(): | ||
| 194 | 194 | _ = countedExpression.upper().rindex(" ORDER BY ") | |
| 195 | 195 | countedExpression = countedExpression[:_] | |
| 196 | 196 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments