4

Are groovy filters executed the same order as declared in site.xml in Crafter CMS? For example, will filter1 always be executed before filter2?

<filter>
            <script>/scripts/filters/filter1.groovy</script>
            <mapping>
                <include>/**</include>
                <exclude></exclude>
            </mapping>
        </filter>
        <filter>
            <script>/scripts/filters/filter2.groovy</script>
            <mapping>
                <include>/**</include>
                <exclude></exclude>
            </mapping>
        </filter>

I'm using Crafter 2.5

Katie Hurley
  • 179
  • 9

1 Answers1

3

Yes, they should be exec in the same order as define

Cortiz
  • 839
  • 4
  • 7