No way to reset search in pagetree
The only way to clear the search in the pagetree is to delete the search word(s). This turns the pagetree in a state where all nodes are uncollapsed. Refreshing the tree turns it into a fully collapsed state. There is no way to return to the previous state (e.g. with a few nodes uncollapsed).
after clearing the search field the pagetree returns to the previous state with one possible exception:
a selected node must always be visible