Two ideas to note down so I won't forget:
- Allow filtering available offers
- Allow excluding providers
First can be achieved by putting packages key into filter variables, similar to bestOnly.
Since filter is already handled (for bestOnly) nothing else is required. packages would be the same list as providers in search and popular.
It can be extended for search and popular, but I'm not sure whether this should be the same parameter, or a new one.
Second can also be done through new parameter in filter - excludePackages.
Browser does it a bit differently - it uses it as a separate variable that get inserted into the filter "manually", but here it shouldn't be necessary.
To match filtering in details to current filtering in search and popular (I think) variable availableToPackages could be used.
In general there might be other interesting filtering options to take a look into., like filtering for monetization types, etc.
Two ideas to note down so I won't forget:
First can be achieved by putting
packageskey intofiltervariables, similar tobestOnly.Since
filteris already handled (forbestOnly) nothing else is required.packageswould be the same list asprovidersinsearchandpopular.It can be extended for
searchandpopular, but I'm not sure whether this should be the same parameter, or a new one.Second can also be done through new parameter in
filter-excludePackages.Browser does it a bit differently - it uses it as a separate variable that get inserted into the filter "manually", but here it shouldn't be necessary.
To match filtering in
detailsto current filtering insearchandpopular(I think) variableavailableToPackagescould be used.In general there might be other interesting filtering options to take a look into., like filtering for monetization types, etc.