Did you ever figure it out? I’m also working on this same
Issue and it’s becoming a major thorn in my side. Every time I switch the view I want on the specific web part...it defaults to every other view...which is what I’m trying to avoid.
Is this the classic view or the modern view having this issue?
Try removing the document library web part from the AllItems.aspx in classic experience and then re-add it again.
The solution you come up with is also workable. You can delete the default list view and then change the URL of another list view to "AllItems" under Web address of this ...
There is no such Type like "Folder" in document library. Type of Folder is always "Empty".
So to filter a view to only show the folders you need to use your filter like below (this is how I did it before):
As we are adding filter to show the only items with "Empty" type, if you will upload any file without extension ...
In order to achieve what you want you need to use the combination of multiple And and Or operators in your list view filters.
Check below image as an example of what you are trying to achieve:
You can create similar filtering on your views by replacing the actual column names and their values in your case.
Create, change, or delete ...