openeuropa / media_avportal

Media AV Portal adds European Audiovisual Services as a supported media provider.
4 stars 3 forks source link

OPENEUROPA-2780: Filter out video shot from AV Portal resources. #44

Closed sergepavle closed 4 years ago

sergepavle commented 4 years ago

OPENEUROPA-2780

Description

Media AV portal API returns also "video shot" resources.

Our media browser plugin has a filter by type with the options "Any, Video, Photo". When picking "Any", these video reportage resources are shown but they should not.

Fix the filter by changing it from "no type" passed to "video,photo".

Check where the code should belong: try to improve media_avportal if needed, otherwise oe_media/ewcms based on the impact.

Change log

Commands

[Insert commands here]