Skip to content

Search kit: Document how to get selected ids for non-contact search tasks

DaveD requested to merge DaveD/dev:params into master

Normally when coming from search the id list is populated for you here: and your existing code is likely expecting that.

For contact searches, searchkit sends cids instead of id, and so it gets picked up the same as normal and sets $this->_contactIds so you don't need to do anything extra. But for e.g. contributions you need to retrieve id yourself.

Merge request reports