We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3187e01 commit b43cd65Copy full SHA for b43cd65
1 file changed
shotgun_api3/shotgun.py
@@ -2895,7 +2895,7 @@ def nav_expand(self, path, seed_entity_field=None, entity_fields=None):
2895
}
2896
)
2897
2898
- def nav_search_string(self, root_path, search_string):
+ def nav_search_string(self, root_path, search_string, seed_entity_field=None):
2899
"""
2900
Search function adapted to work with the navigation hierarchy.
2901
@@ -2909,11 +2909,12 @@ def nav_search_string(self, root_path, search_string):
2909
"nav_search",
2910
{
2911
"root_path":root_path,
2912
+ "seed_entity_field": seed_entity_field,
2913
"search_criteria": { "search_string": search_string }
2914
2915
2916
- def nav_search_entity(self, root_path, entity):
2917
+ def nav_search_entity(self, root_path, entity, seed_entity_field=None):
2918
2919
2920
@@ -2928,6 +2929,7 @@ def nav_search_entity(self, root_path, entity):
2928
2929
2930
2931
"root_path": root_path,
2932
2933
"search_criteria": {"entity": entity }
2934
2935
0 commit comments