Skip to content

[BUG]: ___quick_search_from_object does not return hidden objects #223

@DanDavies2

Description

@DanDavies2

Description

Search Results when executing the SearchObject in Workstation includes the hidden object but when doing it programmatically using the same user, the Search results do not include the hidden object

MicroStrategy Support Case

If the issue has been raised via MicroStrategy Support Team already, add the Case Number and/or any additional details here

Steps To Reproduce

Create a Search Object that includes within its results a hidden object
Call the quick_search_from_object method passing in the ID of the Search Object
Print the results of the method to the log which will show that only the objects that are NOT marked as hidden are returned

Code Snippet

Full, reusable code snippet highlighting the problem

It may contain placeholders expected to be filled before running the code

test = SearchObject(connection=conn, id='[ID OF THE SEARCH OBJECT'])

results = quick_search_from_object(connection=conn, project=conn.project_id, search_object=test.id)

for i in results:
    print(i['name'] + ' : ' + i['id'] + ' : ' + str(i['type']) + ' : ' + str(i['certifiedInfo']['certified']))

Additional Context (optional)

Any other context about the problem, that does not fit into the sections above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewThe item has just been created and was not seen by MSTR developer yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions