Skip to content
Snippets Groups Projects
Unverified Commit 15376b55 authored by metamben's avatar metamben Committed by GitHub
Browse files

Remove dead code (#45815)

parent d47b1533
No related branches found
No related tags found
No related merge requests found
......@@ -487,11 +487,6 @@
(lib.util.match/match-one expr :offset))
{:message (i18n/tru "OFFSET is not supported in custom columns")
:friendly true})
(when (and (= expression-mode :expression)
(lib.util.match/match-one expr :offset)
(empty? (:order-by (lib.util/query-stage query stage-number))))
{:message (i18n/tru "OFFSET in a custom expression requires a sort order")
:friendly true})
(when (and (= expression-mode :filter)
(lib.util.match/match-one expr :offset))
{:message (i18n/tru "OFFSET is not supported in custom filters")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment