To be more clear i do this:
if i do simple eval for "@SOBJECT(tvs/asset['asset_category_code', 'cat/subcat'])" it is returning normal values.
Same with the "@SOBJECT(child:tvs/asset_in_asset['parent_asset_code', 'ASSET00002'].parent:tvs/asset)"
This is great, because it looks like the problem with add_relationship_filters method
Code:
expression_filter = "@SOBJECT(tvs/asset['asset_category_code', 'cat/subcat'])"
eval_sobjects = Search.eval(expression_filter)
if eval_sobjects:
search.add_relationship_filters(eval_sobjects, op=op)
elif op == 'in':
search.set_null_filter()
total_sobjects_query_count = search.get_count()
if i do simple eval for "@SOBJECT(tvs/asset['asset_category_code', 'cat/subcat'])" it is returning normal values.
Same with the "@SOBJECT(child:tvs/asset_in_asset['parent_asset_code', 'ASSET00002'].parent:tvs/asset)"
This is great, because it looks like the problem with add_relationship_filters method