Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
opentype Posted October 22, 2022 Posted October 22, 2022 I have a use case where I check a Pages record title in the display template and make some changes to it when necessary. Is there an easy way to initiate an update of the search index for that record after the {{$record->save()}} ?
Solution Martin A. Posted October 22, 2022 Solution Posted October 22, 2022 \IPS\Content\Search\Index::i()->index( $record ); This will add or update the item. opentype 1
Recommended Posts