10up / brightcove-video-connect

A plugin to integrate your Brightcove video library or libraries with WordPress
https://www.brightcove.com/
GNU General Public License v2.0
22 stars 34 forks source link

Bugfix: combined queries with q parameter #392

Closed oscarssanchezz closed 6 months ago

oscarssanchezz commented 6 months ago

Description of the Change

Per Brightcove documentation: https://apis.support.brightcove.com/cms/searching/cms-and-playback-apis-video-search-v2.html, a + sign should be added to make the query string parameter mandatory.

This seems to be the only way to make search work with combined queries such as state:active-inactive.

Adding the parameter to the query does not affect single search term negatively.

Closes #

How to test the Change

Changelog Entry

Fixed - Bug fix: Add + sign to search term parameter for combined queries.

Credits

Props @oscarssanchezz

Checklist: