- πΊπΈUnited States mlncn Minneapolis, MN, USA
See also β¨ Sort by Entityqueue Closed: works as designed
- Status changed to Needs review
about 1 year ago 11:19am 23 May 2024 - πΊπΈUnited States mlncn Minneapolis, MN, USA
This issue fork could really use some initial review from people knowledgeable about Entityqueue and Search API.
It works for my purpose but definitely needs work (in particular needs to deal appropriately with the eventuality that the same entity gets added to more than one entityqueue).
- πΊπΈUnited States mlncn Minneapolis, MN, USA
This does not trigger an update to the index when an item is added, removed, or re-ordered in an update queue.
Possible code i'm hoping for Search API advice on in https://www.drupal.org/project/search_api/issues/3016821#comment-16054098 β¨ Sort by Entityqueue Closed: works as designed
- First commit to issue fork.
- π³π±Netherlands Martijn Snapper
It seems that when removing an entity from the queue, the index is not updated. In the
hook_update
only the entities of the current list are included in the entity update ofsearch_api.entity_datasource.tracking_manager
.If I also include the entities that are removed, the overview updated correctly. I don't know if this is the best way.