@jakubz
Please consider changing your Formula to the following:
With(User(),
With({_items:
Filter(HelpDesk_Data,
(isAdmin && StartsWith('Author (Author0)', MyTicketsScreenGallerySearchBox.Text)) ||
(!isAdmin && 'Author (Author0)' = FullName)
)
},
Sort(_items,
ID,
Descending
)
)
)
If this is SharePoint and your Author column is a Person column, then you will need to change to the following:
With(User(),
With({_items:
Filter(HelpDesk_Data,
(isAdmin && StartsWith('Author (Author0)'.DisplayName, MyTicketsScreenGallerySearchBox.Text)) ||
(!isAdmin && 'Author (Author0)'.DisplayName = FullName)
)
},
Sort(_items,
ID,
Descending
)
)
)
I hope this is helpful for you.