QueryBuilder
can't find codes when looking for AbstractCode
#6687
Labels
QueryBuilder
can't find codes when looking for AbstractCode
#6687
Describe the bug
orm.QueryBuilder().append(orm.AbstractCode)
will not find any codes, as the resultant query has{'node_type': {'like': 'data.code.abstract.%'}
, whereas codes carry an entry point ofdata.core.code.%
.Steps to reproduce
Try finding any code with
orm.QueryBuilder().append(orm.AbstractCode)
. Count should always come up null.Expected behavior
Successfully find codes.
Your environment
Additional context
orm.QueryBuilder().append(orm.Code)
works, yielding{'node_type': {'like': 'data.core.code.%'}
. But then you're using the deprecatedorm.Code
.The text was updated successfully, but these errors were encountered: