I just realized that, currently, the $reset parameter for the search_api_(server|index)_load(_multiple)? functions doesn't have any function. That's because these function now internally use the entity_load_multiple_by_name() function, which for some reason doesn't provide a $reset parameter like all other load functions.
The fix is simply to inline that function's body into our two functions, which should also give a slight performance improvement (though hardly a noticable one).

Comments

drunken monkey’s picture

Status: Active » Needs review
StatusFileSize
new1.95 KB

Patch attached, also including doc comment style fixes for these functions. (Fixing the doc comments one at a time …)

bago’s picture

+1

bago’s picture

Status: Needs review » Reviewed & tested by the community

Works here.

drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Great, committed. Thanks for testing!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.