netgen / ezplatform-site-api

Netgen's Site API is site building productivity layer for eZ/Ibexa Platform
https://docs.netgen.io/projects/site-api
GNU General Public License v2.0
37 stars 8 forks source link

Fix wrong condition in code examples for location priority #201

Closed bcafuk closed 3 years ago

bcafuk commented 3 years ago

The code snippets on the page for locations' priority condition contain mistakes: The examples don't actually use the priority condition. They currently use the depth condition instead.

This pull requests replaces uses of the depth condition with the priority condition being documented.

pspanja commented 3 years ago

Thanks @bcafuk