FIX: Full page search result infinite scroll with added results ()

This commit is contained in:
Mark VanLandingham 2025-01-14 13:23:08 -06:00 committed by GitHub
parent 1b19bf690a
commit c25e53db7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -435,8 +435,11 @@ export default class FullPageSearchController extends Controller {
if (args.page > 1) {
if (model) {
this.model.posts.pushObjects(model.posts);
this.model.topics.pushObjects(model.topics);
this.model.set("posts", this.model.posts.concat(model.posts));
this.model.set(
"topics",
this.model.topics.concat(model.topics)
);
this.model.set(
"grouped_search_result",
results.grouped_search_result