Filter Sales Order List by items

I want to be able to filter Sales Order and Purchase Order lists based on the items attached to them.

We use item codes, and we often want to get a list of sales or purchase orders that have item X as an attached item.

How can I achieve this? Thank you.

Answered in your other post.