- Issue created by @EHLOVader
The path matches the wrong breadcrumb because the order the rules are checked is by id number so the first created will be used. Appears to be a regression from 797470 β
When I have a path like /parent/* and another like /parent/child/grandchild/* if the URL is /parent/child/grandchild/page it should match the /parent/child/grandchild/* rule not the /parent/*
Create a rule for a very short path, and also create a rule for a longer sub path
I just usorted in reverse based on the number of /s in the URL, to determine depth to fix it, but I wonder if there is a better way to determine specificity, and maybe it should be stored or calculated up front. The things that I thought of for specificity are
Active
1.1
custom_breadcrumbs