Fix links to filtered search in "Building" blocks on front page (and Dashboard) #507
Labels
2.x
PECE 2.x Release
Ready for review
Status is work is completed and testing and confirmation needed.
If i edit the "Link wth Text" (typo in original) for the "See all Artifacts" link in the "Building Content" content block of type Layout block, it looks like this:
/search?search_api_fulltext=&f%5B0%5D=content_type%3Aartifact_tabular_data&f%5B1%5D=content_type%3Aartifact_video&f%5B2%5D=content_type%3Apece_artifact_audio&f%5B3%5D=content_type%3Apece_artifact_bundle&f%5B4%5D=content_type%3Apece_artifact_fieldnote&f%5B5%5D=content_type%3Apece_artifact_image&f%5B6%5D=content_type%3Apece_artifact_pdf&f%5B7%5D=content_type%3Apece_artifact_text&f%5B8%5D=content_type%3Apece_artifact_website
It should look like this:
/search?type[0]=pece_artifact_image&type[1]=pece_artifact_website&type[2]=pece_artifact_pdf&type[3]=pece_artifact_text&type[4]=artifact_video&type[5]=pece_artifact_audio&type[6]=pece_artifact_bundle&type[7]=pece_artifact_fieldnote&type[8]=artifact_tabular_data
(The
search_api_fulltext
part is not the problem; the apparent double-escaping… hmm, maybe that is not the issue, maybe it is that the view changed. Because this would work too:/search?type%5B0%5D=pece_artifact_image&type%5B1%5D=pece_artifact_website&type%5B2%5D=pece_artifact_pdf&type%5B3%5D=pece_artifact_text&type%5B4%5D=artifact_video&type%5B5%5D=pece_artifact_audio&type%5B6%5D=pece_artifact_bundle&type%5B7%5D=pece_artifact_fieldnote&type%5B8%5D=artifact_tabular_data
)Anyway, fixing now and here are the currently correct values in case there is more regression related to import/export or something else:
/search?type[0]=pece_annotation
/search?type[0]=pece_memo
/search?type[0]=pece_essay&type[1]=pece_photo_essay&type[2]=pece_timeline_essay
The text was updated successfully, but these errors were encountered: