Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

Api\View\Weblinks\JsonapiView::displayList(?array $items = null) and displayItem($item = null) call parent::displayList() / parent::displayItem() without arguments. Items passed by a caller are silently dropped and the parent loads them from the model again. The arguments are now passed on, as in the core API views.

Testing Instructions

Call GET /api/index.php/v1/weblinks and GET /api/index.php/v1/weblinks/<id> with an API token.

Expected result

Lists and single items are returned as before (the controller does not pass items, so the output is unchanged).

Actual result

Same; items passed to the methods are ignored.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment