Page MenuHomePhabricator

ZObjectSelect: Load more doesn't append new results, but seems to replace the existing ones with the new batch
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce:

  1. Create a new Z11 https://www.wikifunctions.org/wiki/Special:CreateObject?zid=Z11 and expand the object
  2. In the "Language" field, type "es" (lots of languages fit that substring)
  3. Scroll to the bottom and observe

Observed behavior:

  • On reaching the bottom, a new batch of matches is requested.
  • The new batch seems to replace the existing one, so it's not possible to navigate back to the top
  • See demo gif:
    load-more-doesnt-append.gif (961×759 px, 3 MB)

Expected behavior (Acceptance criteria):

  • On reaching the bottom, it will request and append new results to the existing ones.
  • A user can easily navigate through the dropdown and explore the results obtained

Completion checklist

Event Timeline

DSmit-WMF changed the task status from Open to In Progress.Nov 21 2025, 11:52 AM
DSmit-WMF claimed this task.

Change #1208311 had a related patch set uploaded (by Daphne Smit; author: Daphne Smit):

[mediawiki/extensions/WikiLambda@master] ZObjectSelector: Fix load more doesn't append new results

https://gerrit.wikimedia.org/r/1208311

Change #1208311 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] ZObjectSelector: Append new results from load more, don't replace

https://gerrit.wikimedia.org/r/1208311