Commit 236eb7b
committed
fix(helper): expose .lastResults to .helper (#4170)
* fix(helper): expose .lastResults to .helper
In v3, the helper exposed on the instance is the same helper as the one who searches. This means that lastResults is set as expected.
However, with v4 we split this up in the derived helper which actually searches and the exposed helper.
This is fixed now by just setting the last results once the search is done on the derived helper.
* edit comment1 parent 004bd3e commit 236eb7b
File tree
2 files changed
+25
-1
lines changed- src
- lib/__tests__
- widgets/index
2 files changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
280 | 298 | | |
281 | 299 | | |
282 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
467 | 473 | | |
468 | 474 | | |
469 | 475 | | |
| |||
0 commit comments