No longer required
alanburke → created an issue.
alanburke → created an issue.
alanburke → created an issue.
alanburke → created an issue.
alanburke → created an issue. See original summary → .
alanburke → created an issue.
I helped prep the slides. A bit.
I was compere
Thanks keepeek_dam
We're working on a migration routine and want to ensure we create the elements correctly.
We have enough information now to continue so I will close this.
alanburke → created an issue.
I can see that the JSON data is used when determing whether the element is a Video element, and hence needs the Video player.
Is there any guide to how to create the 'data' that is stored in the JSON?
It doesn't match the 2 API calls that are made. I assume it is generated inside the Keepicker element?
alanburke → created an issue.
alanburke → created an issue.
alanburke → created an issue.
alanburke → created an issue.
Patch isn't applying. Need re-roll.
But the fix looks correct
Proper patch to follow. Dumping here for now
diff --git a/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php b/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php
index 6f91aacf..3d110e13 100644
--- a/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php
+++ b/web/modules/contrib/search_api_decoupled/src/Controller/SearchApiEndpointController.php
@@ -229,7 +229,7 @@ protected function prepareQuery(Request $request, SearchApiEndpointInterface $se
// Add conditions for all query parameters.
foreach ($request->query->all() as $key => $value) {
- if (!in_array($key, $index_fields)) {
+ if (!in_array($key, array_keys($index_fields))) {
continue;
}
if (in_array($key, $query->getFulltextFields())) {
alanburke → created an issue.
stella → credited alanburke → .
John Cook → credited alanburke → .
Sorting is straightforward
/jsonapi/index/main_solr?filter[fulltext]=query_term&sort=nid
will let you sort by nid
and
/jsonapi/index/main_solr?filter[fulltext]=basic&sort=-nid
will let you reverse that sort
alanburke → created an issue.
Working here - Was about to post the same patch!