-
Bug
-
Resolution: Done
-
None
-
None
The DCP query on buzz pages has a bug in query parameter.
For example on EAP page hits this:
http://dcp2.jboss.org/v2/rest/search?field=sys_url_view&field=sys_title&field=sys_contributors&field=sys_description&field=sys_created&field=author&field=sys_tags&field=sys_content_id&query=sys_tags%3Ae+a+p&size=8&sys_type=blogpost&sortBy=new-create&query_highlight=true&from=0
you can see those "+" characters which are invalid.
The filter parameter "eap" cannot have plus characters and also it needs to be passed to the tags parameter instead of query parameter. See more info to reference docs: http://docs.jbossorg.apiary.io/#searchapi
So for EAP buzz page correct dcp query is:
http://dcp2.jboss.org/v2/rest/search?field=sys_url_view&field=sys_title&field=sys_contributors&field=sys_description&field=sys_created&field=author&field=sys_tags&field=sys_content_id&tag=eap&size=8&sys_type=blogpost&sortBy=new-create&from=0
I also removed query_highlight parameter which is not used.
- blocks
-
DEVELOPER-1701 Display Developer Blog posts on Product pages
- Done