Steps to reproduce:
- Navigate to Documents and Media > Document Types
- Create a new document type with the Date field named test
- Create another document type with the Select field named test1
- Go back to the documents and media tab
- Add a new file via test
- Add another file via test1
- Click on the Filter and order > Document Type > select test1
- Assert the added file that relates to test1 is displayed
- Click on the Filter and order > Document Type > select test
The document type is selected as test1, and the result is 1 (The added file that relates to test is displayed).
The document type is still selected as test1, and the result is 0.