Fix handle object address search
@@ -305,12 +305,6 @@ BOOLEAN PhpHandleTreeFilterCallback(
return TRUE;
}
- if (handleItem->ObjectString[0])
- {
- if (PhpWordMatchHandleStringZ(handlesContext->SearchboxText, handleItem->ObjectString))
- return TRUE;
- }
-
if (handleItem->GrantedAccessString[0])
{
if (PhpWordMatchHandleStringZ(handlesContext->SearchboxText, handleItem->GrantedAccessString))
@@ -321,6 +315,12 @@ BOOLEAN PhpHandleTreeFilterCallback(
// node properties
+ if (handleNode->ObjectString[0])
+ {
+ if (PhpWordMatchHandleStringZ(handlesContext->SearchboxText, handleNode->ObjectString))
+ return TRUE;
+ }
+
if (!PhIsNullOrEmptyString(handleNode->GrantedAccessSymbolicText))
{
if (PhpWordMatchHandleStringRef(handlesContext->SearchboxText, &handleNode->GrantedAccessSymbolicText->sr))
