Filtering settings will not be saved with your document. The next time you open this file, all the objects will be visible.
See Also
Filtering Objects by Color
Filtering Objects Using the Color Swatch Table